From c9225ef77d65ca2ce8b66c81b6af726c87e4c81e Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Mon, 4 Apr 2016 18:02:40 +0200 Subject: [PATCH] Define %clean before %files --- wpkg-firefox-config.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wpkg-firefox-config.spec b/wpkg-firefox-config.spec index c5d8c2f..ef3f2f9 100644 --- a/wpkg-firefox-config.spec +++ b/wpkg-firefox-config.spec @@ -39,15 +39,15 @@ mkdir -p %{buildroot}/home/e-smith/files/shares/wpkg/files/softwares/firefox cp -r softwares/* %{buildroot}/home/e-smith/files/shares/wpkg/files/softwares/firefox/ 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/ /etc/ -%clean -/bin/rm -rf %{buildroot} - %changelog * Wed Mar 16 2016 Daniel Berteaud 0.5-1 - Add back support for distribution/bundles