From 1c1cbed7eaef7557bcbe5cce18d09da91108099d Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Mon, 4 Apr 2016 18:25:39 +0200 Subject: [PATCH] Define %clean before %files --- wpkg-winscp.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wpkg-winscp.spec b/wpkg-winscp.spec index 047ab71..3eed134 100644 --- a/wpkg-winscp.spec +++ b/wpkg-winscp.spec @@ -34,14 +34,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 Mar 7 2016 Daniel Berteaud 5.7.7-1 - Update to 5.7.7