[cpp-sp COMMIT] /branches/REL_2_4/shibboleth.spec.in
noreply at shibboleth.net
noreply at shibboleth.net
Sun Aug 7 02:13:47 BST 2011
Author: scantor
Date: Sun Aug 7 02:13:47 2011
New Revision: 3503
URL: http://svn.shibboleth.net/view/cpp-sp?rev=3503&view=rev
Log:
Add CentOS 6 workaround
Modified:
branches/REL_2_4/shibboleth.spec.in
Modified: branches/REL_2_4/shibboleth.spec.in
URL: http://svn.shibboleth.net/view/cpp-sp/branches/REL_2_4/shibboleth.spec.in?rev=3503&r1=3502&r2=3503&view=diff
==============================================================================
--- branches/REL_2_4/shibboleth.spec.in (original)
+++ branches/REL_2_4/shibboleth.spec.in Sun Aug 7 02:13:47 2011
@@ -21,7 +21,7 @@
BuildRequires: libsaml-devel >= 2.4
%{?_with_log4cpp:BuildRequires: liblog4cpp-devel >= 1.0}
%{!?_with_log4cpp:BuildRequires: liblog4shib-devel}
-%if 0%{?rhel} >= 6
+%if 0%{?rhel} >= 6 || 0%{?centos_version} >= 600
Requires: libcurl-openssl >= 7.21.7
BuildRequires: chrpath
%endif
@@ -87,7 +87,7 @@
%{__sed} -i "s/\/var\/log\/httpd/\/var\/log\/apache2/g" \
$RPM_BUILD_ROOT%{_sysconfdir}/%{name}/native.logger
%endif
-%if 0%{?rhel} >= 6
+%if 0%{?rhel} >= 6 || 0%{?centos_version} >= 600
%{__sed} -i "s/#_RHEL6_//g" \
$RPM_BUILD_ROOT%{_sysconfdir}/%{name}/shibd-redhat
%{__sed} -i "s/\/opt\/shibboleth\/lib/\/opt\/shibboleth\/%{_lib}/g" \
More information about the commits
mailing list