From 90cf227a6af99aca48b0ad0cc5aec8758748fbf5 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Mon, 4 Apr 2016 18:03:48 +0200 Subject: [PATCH] Define %clean before %files --- wpkg-freemind.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wpkg-freemind.spec b/wpkg-freemind.spec index 6bf7275..8ba9bfa 100644 --- a/wpkg-freemind.spec +++ b/wpkg-freemind.spec @@ -35,14 +35,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 * Wed Sep 3 2014 Daniel Berteaud - 1.0.1-1 - Update to 1.0.1