From 96608bba436aa6229d23782f95155c879506a36d Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Mon, 4 Apr 2016 18:13:58 +0200 Subject: [PATCH] Define %clean before %files --- wpkg-packages.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wpkg-packages.spec b/wpkg-packages.spec index a7a5eb5..3093e4d 100644 --- a/wpkg-packages.spec +++ b/wpkg-packages.spec @@ -88,15 +88,15 @@ mkdir -p %{buildroot}/home/e-smith/files/shares/wpkg/files/settings/wpkg cp -r softwares/* %{buildroot}/home/e-smith/files/shares/wpkg/files/softwares/wpkg/ 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 * Tue Mar 24 2015 Daniel Berteaud 0.0.22-1 - Requires wpkg-xmind