From 92ffefff06da83642523f4f4e6a064e4b7fd7cf8 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Mon, 4 Apr 2016 18:18:37 +0200 Subject: [PATCH] Define %clean before %files --- wpkg-settings.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wpkg-settings.spec b/wpkg-settings.spec index dc6b19c..9a8cf33 100644 --- a/wpkg-settings.spec +++ b/wpkg-settings.spec @@ -33,14 +33,14 @@ mkdir -p %{buildroot}/home/e-smith/files/shares/wpkg/files/packages mkdir -p %{buildroot}/home/e-smith/files/shares/wpkg/files/softwares/ 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 * Wed Mar 2 2016 Daniel Berteaud - 0.8-1 - Disable .js file execution