X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-xmltooling.git;a=blobdiff_plain;f=xmltooling.spec.in;h=b8f5f8d8e48f715a426848134dabbce00afa203b;hp=19feb8536f515b9f11633f7df4b6e521e57a0fec;hb=HEAD;hpb=772d790ba06fea457b570a18530f281465ecfb54 diff --git a/xmltooling.spec.in b/xmltooling.spec.in index 19feb85..b8f5f8d 100644 --- a/xmltooling.spec.in +++ b/xmltooling.spec.in @@ -6,18 +6,18 @@ Group: Development/Libraries/C and C++ Vendor: Shibboleth Consortium License: Apache 2.0 URL: http://www.opensaml.org/ -Source: %{name}-%{version}.tar.gz +Source: %{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-root -%if 0%{?suse_version} > 1030 && 0%{?suse_version} < 1130 -BuildRequires: libXerces-c-devel >= 2.8.0 +%if 0%{?rhel} >= 7 || 0%{?centos_version} >= 700 +BuildRequires: xerces-c-devel >= 3.1 %else -BuildRequires: libxerces-c-devel >= 2.8.0 +BuildRequires: libxerces-c-devel >= 3.1 %endif -BuildRequires: libxml-security-c-devel >= 1.4.0 +BuildRequires: libxml-security-c-devel >= 1.7.3 %{?_with_log4cpp:BuildRequires: liblog4cpp-devel >= 1.0} %{!?_with_log4cpp:BuildRequires: liblog4shib-devel >= 1.0.4} BuildRequires: gcc-c++, openssl-devel, boost-devel >= 1.32.0 -%if 0%{?rhel} >= 6 || 0%{?centos_version} >= 600 +%if 0%{?rhel} >= 6 || 0%{?centos_version} >= 600 || 0%{?amzn} >= 1 BuildRequires: libcurl-openssl-devel >= 7.21.7 Requires: libcurl-openssl >= 7.21.7 %else @@ -37,8 +37,8 @@ BuildRequires: redhat-rpm-config %define pkgdocdir %{_docdir}/%{name}-%{version} %endif -# Prevent the RH6 package from requiring a vanilla libcurl. -%if 0%{?rhel} >= 6 || 0%{?centos_version} >= 600 +# Prevent the RHEL/etc 6+ package from requiring a vanilla libcurl. +%if 0%{?rhel} >= 6 || 0%{?centos_version} >= 600 || 0%{?amzn} >= 1 %filter_from_requires /libcurl\.so\..*/d %filter_setup %endif @@ -55,7 +55,7 @@ Summary: OpenSAML XMLTooling library Group: Development/Libraries/C and C++ Provides: @PACKAGE_NAME@ = %{version}-%{release} Obsoletes: @PACKAGE_NAME@ < %{version}-%{release} -%if 0%{?rhel} >= 6 || 0%{?centos_version} >= 600 +%if 0%{?rhel} >= 6 || 0%{?centos_version} >= 600 || 0%{?amzn} >= 1 Requires: libcurl-openssl >= 7.21.7 %endif @@ -74,16 +74,16 @@ Group: Development/Libraries/C and C++ Requires: lib@PACKAGE_NAME@6 = %{version}-%{release} Provides: @PACKAGE_NAME@-devel = %{version}-%{release} Obsoletes: @PACKAGE_NAME@-devel < %{version}-%{release} -%if 0%{?suse_version} > 1030 && 0%{?suse_version} < 1130 -Requires: libXerces-c-devel >= 2.8.0 +%if 0%{?rhel} >= 7 || 0%{?centos_version} >= 700 +Requires: xerces-c-devel >= 3.1 %else -Requires: libxerces-c-devel >= 2.8.0 +Requires: libxerces-c-devel >= 3.1 %endif -Requires: libxml-security-c-devel >= 1.4.0 +Requires: libxml-security-c-devel >= 1.7.3 %{?_with_log4cpp:Requires: liblog4cpp-devel >= 1.0} %{!?_with_log4cpp:Requires: liblog4shib-devel >= 1.0.4} Requires: openssl-devel, boost-devel >= 1.32.0 -%if 0%{?rhel} >= 6 || 0%{?centos_version} >= 600 +%if 0%{?rhel} >= 6 || 0%{?centos_version} >= 600 || 0%{?amzn} >= 1 Requires: libcurl-openssl-devel >= 7.21.7 %else Requires: curl-devel >= 7.10.6 @@ -115,7 +115,7 @@ This package includes XML schemas and related files. %setup -q %build -%if 0%{?rhel} >= 6 || 0%{?centos_version} >= 600 +%if 0%{?rhel} >= 6 || 0%{?centos_version} >= 600 || 0%{?amzn} >= 1 %configure %{?@PACKAGE_NAME@_options} --with-curl=/opt/shibboleth %else %configure %{?@PACKAGE_NAME@_options} @@ -158,6 +158,14 @@ This package includes XML schemas and related files. %doc %{pkgdocdir} %changelog +* Thu Feb 26 2015 Scott Cantor - 1.5.4-1 +- Require Xerces 3.1 even on older platforms +- Add Amazon platform checks +- Switch to bz2 source to avoid future SuSE issues + +* Tue May 13 2014 Ian Young - 1.5.3-1.2 +- Update package dependencies for RHEL/CentOS 7 + * Wed Dec 14 2011 Scott Cantor - 1.5-1 - Update lib package number. - Add boost-devel dependency.