From 154e765ae769a551e4fbb24c6f020a2192c8c6b7 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Mon, 4 Apr 2016 18:22:11 +0200 Subject: [PATCH] Define %clean before %files --- wpkg-tightvnc.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wpkg-tightvnc.spec b/wpkg-tightvnc.spec index f0e1bf1..846ce79 100644 --- a/wpkg-tightvnc.spec +++ b/wpkg-tightvnc.spec @@ -38,15 +38,15 @@ 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/ /etc/ -%clean -/bin/rm -rf %{buildroot} - %changelog * Mon Jul 29 2013 Daniel Berteaud - 2.7.10-1 - update to 2.7.10