From c6bad81717e847d67d778ae0092c24f6b3ff69af Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Mon, 4 Apr 2016 18:02:12 +0200 Subject: [PATCH] Define %clean before %files --- wpkg-firefox.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wpkg-firefox.spec b/wpkg-firefox.spec index 243a660..15e1360 100644 --- a/wpkg-firefox.spec +++ b/wpkg-firefox.spec @@ -33,14 +33,14 @@ mkdir -p %{buildroot}/home/e-smith/files/shares/wpkg/files/softwares/%{package} cp -r softwares/* %{buildroot}/home/e-smith/files/shares/wpkg/files/softwares/%{package}/ 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 Mar 21 2016 Daniel Berteaud 45.0.1esr-1 - Update to 45.0.1esr