From: Sam Hartman Date: Mon, 29 Apr 2013 20:21:05 +0000 (-0400) Subject: OK, we'll take the libcurl-openssl mess as part of our dependencies X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fsp.git;a=commitdiff_plain;h=c080e562846e141b30bba4a6abdf0b26172d40db OK, we'll take the libcurl-openssl mess as part of our dependencies --- diff --git a/shibboleth.spec.in b/shibboleth.spec.in index 90882f5..2927e78 100644 --- a/shibboleth.spec.in +++ b/shibboleth.spec.in @@ -20,10 +20,12 @@ BuildRequires: libxerces-c-devel >= 2.8.0 BuildRequires: libxml-security-c-devel >= 1.4.0 BuildRequires: libxmltooling-devel >= 1.5 BuildRequires: libsaml-devel >= 2.5 -BuildRequires: krb5-moonshot-devel - %{?_with_log4cpp:BuildRequires: liblog4cpp-devel >= 1.0} %{!?_with_log4cpp:BuildRequires: liblog4shib-devel >= 1.0.4} +%if 0%{?rhel} >= 6 || 0%{?centos_version} >= 600 +Requires: libcurl-openssl >= 7.21.7 +BuildRequires: chrpath +%endif BuildRequires: gcc-c++, zlib-devel, boost-devel >= 1.32.0 %{!?_without_doxygen:BuildRequires: doxygen} %{!?_without_odbc:BuildRequires:unixODBC-devel} @@ -86,7 +88,11 @@ This package includes files needed for development with Shibboleth. %setup -q %build -%configure %{?_without_odbc:--disable-odbc} %{?_without_adfs:--disable-adfs} %{?_with_fastcgi} %{?_with_memcached} %{?shib_options} --with-gssapi=%{_prefix} --with-xmltooling=%{_prefix} +%if 0%{?centos_version} >= 600 + %configure %{?_without_odbc:--disable-odbc} %{?_without_adfs:--disable-adfs} %{?_with_fastcgi} %{!?_without_memcached:--with-memcached} %{?shib_options} --with-gssapi=%{_prefix} +%else + %configure %{?_without_odbc:--disable-odbc} %{?_without_adfs:--disable-adfs} %{?_with_fastcgi} %{?_with_memcached} %{?shib_options} --with-gssapi=%{_prefix} +%endif %{__make} pkgdocdir=%{pkgdocdir} %install @@ -148,6 +154,17 @@ if [ "$SYSCONFIG_SHIBD" != "no" ] ; then # User account for shibd SHIBD_USER=%{runuser} EOF + %if 0%{?rhel} >= 6 || 0%{?centos_version} >= 600 + cat >> $SYSCONFIG_SHIBD <