ehlo, another patch for simplification of spec file.
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 LS
>From e11311363fb8440efd8ad2198e8ce8365eb177df Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik <[email protected]> Date: Mon, 1 Feb 2016 15:46:17 +0100 Subject: [PATCH] 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 --- contrib/sssd.spec.in | 4 ---- 1 file changed, 4 deletions(-) diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in index 354431336b98f5e8cda722438337273b23c3f95c..bd21d4d41a21c7ea93d990b26204789c98e6b828 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 -- 2.5.0
_______________________________________________ sssd-devel mailing list [email protected] https://lists.fedorahosted.org/admin/lists/[email protected]
