From dc4164916809310f2c3a9c610d1b508446cf4567 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Mon, 4 Apr 2016 18:05:36 +0200 Subject: [PATCH] Define %clean before %files --- wpkg-gimp.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wpkg-gimp.spec b/wpkg-gimp.spec index 7da7204..6bf5646 100644 --- a/wpkg-gimp.spec +++ b/wpkg-gimp.spec @@ -34,14 +34,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 Nov 23 2015 Daniel Berteaud 2.8.16-1 - Update to 2.8.16