From 848a24bc92c9a32927565b615fb3dafe210eacf2 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Mon, 4 Apr 2016 18:26:52 +0200 Subject: [PATCH] Define %clean before %files --- wpkg-xmind.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wpkg-xmind.spec b/wpkg-xmind.spec index 7eaa786..0a76c26 100644 --- a/wpkg-xmind.spec +++ b/wpkg-xmind.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 * Mon Jan 4 2016 Daniel Berteaud - 3.6.1-1 - Update top 3.6.1 (build 201512240104)