From eeef421e20217e7bb359177d2cb89ec9bb259b3a Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Mon, 1 Feb 2016 15:46:17 +0100 Subject: SPEC: 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 Reviewed-by: Alexander Bokovoy --- contrib/sssd.spec.in | 4 ---- 1 file changed, 4 deletions(-) (limited to 'contrib') diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in index 354431336..bd21d4d41 100644 --- a/contrib/sssd.spec.in +++ b/contrib/sssd.spec.in @@ -594,7 +594,6 @@ make %{?_smp_mflags} check VERBOSE=yes unset CK_TIMEOUT_MULTIPLIER %install -rm -rf $RPM_BUILD_ROOT %if (0%{?with_python3} == 1) sed -i -e 's:/usr/bin/python:/usr/bin/python3:' src/tools/sss_obfuscate @@ -684,9 +683,6 @@ do esac done -%clean -rm -rf $RPM_BUILD_ROOT - %files %defattr(-,root,root,-) %doc COPYING -- cgit