From 55c9be268418766840b1a2bda8f26162f83d70bf Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Mon, 4 Apr 2016 18:20:31 +0200 Subject: [PATCH] Define %clean before %files --- wpkg-sogo-addons.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wpkg-sogo-addons.spec b/wpkg-sogo-addons.spec index 3d32459..215ef8e 100644 --- a/wpkg-sogo-addons.spec +++ b/wpkg-sogo-addons.spec @@ -40,6 +40,9 @@ mkdir -p %{buildroot}/home/e-smith/files/shares/wpkg/files/softwares/thunderbird cp -r softwares/* %{buildroot}/home/e-smith/files/shares/wpkg/files/softwares/thunderbird_addons/ cp -r packages/* %{buildroot}/home/e-smith/files/shares/wpkg/files/packages/ +%clean +/bin/rm -rf %{buildroot} + %files %defattr(-,root,root) %doc CHANGELOG.git @@ -48,9 +51,6 @@ cp -r packages/* %{buildroot}/home/e-smith/files/shares/wpkg/files/packages/ /etc /usr -%clean -/bin/rm -rf %{buildroot} - %changelog * Mon Nov 23 2015 Daniel Berteaud 31.0.2-1 - Update to 31.0.2