From c99447d417c92bf2edd902f8f5e0e8023c6d5db9 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Mon, 4 Apr 2016 18:01:35 +0200 Subject: [PATCH] Define %clean before %files --- wpkg-filelink-dl.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wpkg-filelink-dl.spec b/wpkg-filelink-dl.spec index e47f185..cee43af 100644 --- a/wpkg-filelink-dl.spec +++ b/wpkg-filelink-dl.spec @@ -38,15 +38,15 @@ mkdir -p %{buildroot}/home/e-smith/files/shares/wpkg/files/softwares/thunderbird cp -r softwares/* %{buildroot}/home/e-smith/files/shares/wpkg/files/softwares/thunderbird_addons/ cp -r packages/* %{buildroot}/home/e-smith/files/shares/wpkg/files/packages/ +%clean +/bin/rm -rf %{buildroot} + %files %defattr(-,root,root) %doc CHANGELOG.git /home/e-smith/files/shares/wpkg/files/ /usr -%clean -/bin/rm -rf %{buildroot} - %changelog * Thu Sep 17 2015 Daniel Berteaud < 0.17-1 - Update to 0.17