From ae070480d85c0b5c122f3a66b2efc8797b112df8 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Mon, 4 Apr 2016 18:06:04 +0200 Subject: [PATCH] Define %clean before %files --- wpkg-inkscape.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wpkg-inkscape.spec b/wpkg-inkscape.spec index ff09687..181a6c3 100644 --- a/wpkg-inkscape.spec +++ b/wpkg-inkscape.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 Feb 2 2015 Daniel Berteaud 0.91-1 - Update to 0.91