From 07ec3e1f640f02a90f9130186cca8765111b46e2 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Mon, 4 Apr 2016 18:05:11 +0200 Subject: [PATCH] Define %clean before %files --- wpkg-ghostscript.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wpkg-ghostscript.spec b/wpkg-ghostscript.spec index d1863ea..09635b6 100644 --- a/wpkg-ghostscript.spec +++ b/wpkg-ghostscript.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 * Thu Mar 24 2016 Daniel Berteaud 9.19-1 - Update to 9.19