From bd12a362c54bc56e7abf3c9e3cd3c48cd561f1a0 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Mon, 4 Apr 2016 18:09:15 +0200 Subject: [PATCH] Define %clean before %files --- wpkg-kompozer.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wpkg-kompozer.spec b/wpkg-kompozer.spec index 0622c97..44e3741 100644 --- a/wpkg-kompozer.spec +++ b/wpkg-kompozer.spec @@ -33,14 +33,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 * Fri Oct 12 2012 Daniel Berteaud 0.8b3-1 - Initial release with KompoZer 0.8b3