From 52b1456ea74c2896b65eec021907b1ef76f4404a Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Mon, 4 Apr 2016 18:10:10 +0200 Subject: [PATCH] Define %clean before %files --- wpkg-lightning.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wpkg-lightning.spec b/wpkg-lightning.spec index a06010a..f1a3907 100644 --- a/wpkg-lightning.spec +++ b/wpkg-lightning.spec @@ -36,14 +36,14 @@ 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/ -%clean -/bin/rm -rf %{buildroot} - %changelog * Mon Jan 25 2016 Daniel Berteaud 4.0.5.2-1 - Update to 4.0.5.2