Bypass RH6 memcache for now
authorScott Cantor <cantor.2@osu.edu>
Fri, 10 Feb 2012 23:28:19 +0000 (23:28 +0000)
committerScott Cantor <cantor.2@osu.edu>
Fri, 10 Feb 2012 23:28:19 +0000 (23:28 +0000)
shibboleth.spec.in

index e34c481..075b12b 100644 (file)
@@ -23,12 +23,15 @@ BuildRequires:      libsaml-devel >= 2.5
 %{!?_with_log4cpp:BuildRequires: liblog4shib-devel}
 %if 0%{?rhel} >= 6 || 0%{?centos_version} >= 600
 Requires:              libcurl-openssl >= 7.21.7
-BuildRequires: chrpath, libmemcached-devel
+BuildRequires: chrpath
 %endif
 BuildRequires:  gcc-c++, zlib-devel, boost-devel >= 1.32.0
 %{!?_without_doxygen:BuildRequires: doxygen}
 %{!?_without_odbc:BuildRequires:unixODBC-devel}
 %{?_with_fastcgi:BuildRequires: fcgi-devel}
+%if 0%{?centos_version} >= 600
+BuildRequires: libmemcached-devel
+%endif
 %{?_with_memcached:BuildRequires: libmemcached-devel}
 %if "%{_vendor}" == "redhat"
 %{!?_without_builtinapache:BuildRequires: httpd-devel}
@@ -83,7 +86,7 @@ This package includes files needed for development with Shibboleth.
 %setup -q
 
 %build
-%if 0%{?rhel} >= 6 || 0%{?centos_version} >= 600
+%if 0%{?centos_version} >= 600
        %configure %{?_without_odbc:--disable-odbc} %{?_without_adfs:--disable-adfs} %{?_with_fastcgi} %{!?_without_memcached:--with-memcached} %{?shib_options}
 %else
        %configure %{?_without_odbc:--disable-odbc} %{?_without_adfs:--disable-adfs} %{?_with_fastcgi} %{?_with_memcached} %{?shib_options}