From dd22bc32e1269bfdef4a3e4054a541f5845f1216 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Mon, 4 Apr 2016 18:20:54 +0200 Subject: [PATCH] Define %clean before %files --- wpkg-sumatrapdf.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wpkg-sumatrapdf.spec b/wpkg-sumatrapdf.spec index b69bcd9..799d75d 100644 --- a/wpkg-sumatrapdf.spec +++ b/wpkg-sumatrapdf.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 * Fri Dec 4 2015 Daniel Berteaud 3.1.1-2 - Add native x64 binary