From 520e87bd3c6efe95b7fe1570736ee601752e52a4 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Mon, 4 Apr 2016 18:04:49 +0200 Subject: [PATCH] Define %clean before %files --- wpkg-gajim.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wpkg-gajim.spec b/wpkg-gajim.spec index a950944..798a984 100644 --- a/wpkg-gajim.spec +++ b/wpkg-gajim.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/ -%clean -/bin/rm -rf %{buildroot} - %changelog * Mon Jan 27 2014 Daniel Berteaud - 0.15.4.3-3 - Fix reg delete on removal