From 2d1e0803013e73b888a805ac1f0b14f3b5279154 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Mon, 4 Apr 2016 17:40:06 +0200 Subject: [PATCH] Define %clean before %files --- wpkg-7zip.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wpkg-7zip.spec b/wpkg-7zip.spec index 17842d0..f9e8af7 100644 --- a/wpkg-7zip.spec +++ b/wpkg-7zip.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 Jan 13 2016 Daniel Berteaud - 15.14-1 - Update to 15.14