From fb84da93805b2257c21421080c751242965ac5a2 Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Tue, 2 Feb 2016 18:06:09 +0100 Subject: [PATCH] Remove unnecessary clean-up of buildroot rhel5 required to clean buildroot in install section. The %clean section is not required for F-13 and above, and EPEL 6 and above. EPEL 5 MUST have a %clean section that cleans the buildroot: https://fedoraproject.org/wiki/EPEL:Packaging#Prepping_BuildRoot_For_.25install --- sssd.spec | 5 ----- 1 file changed, 5 deletions(-) diff --git a/sssd.spec b/sssd.spec index b5044b9..7a7bb52 100644 --- a/sssd.spec +++ b/sssd.spec @@ -598,7 +598,6 @@ make %{?_smp_mflags} check VERBOSE=yes unset CK_TIMEOUT_MULTIPLIER %install -rm -rf $RPM_BUILD_ROOT sed -i -e 's:/usr/bin/python:/usr/bin/python3:' src/tools/sss_obfuscate @@ -706,10 +705,6 @@ do cat sssd_$provider.lang done - -%clean -rm -rf $RPM_BUILD_ROOT - %files %defattr(-,root,root,-) %doc COPYING