Bump version to 2.5.1
[shibboleth/opensaml2.git] / opensaml.spec.in
index bff71c8..b7c3d27 100644 (file)
@@ -1,6 +1,6 @@
 Name:          @PACKAGE_NAME@
 Version:       @PACKAGE_VERSION@
-Release:       2
+Release:       1
 Summary:       OpenSAML SAML library
 Group:         Development/Libraries/C and C++
 Vendor:                Shibboleth Consortium
@@ -8,6 +8,12 @@ License:       Apache 2.0
 URL:           http://www.opensaml.org/
 Source0:       %{name}-%{version}.tar.gz
 BuildRoot:     %{_tmppath}/%{name}-%{version}-root
+%if 0%{?suse_version} > 1030 && 0%{?suse_version} < 1130
+BuildRequires:  libXerces-c-devel >= 2.8.0
+%else
+BuildRequires:  libxerces-c-devel >= 2.8.0
+%endif
+BuildRequires:  libxml-security-c-devel >= 1.4.0
 BuildRequires:  libxmltooling-devel >= 1.4
 %{?_with_log4cpp:BuildRequires: liblog4cpp-devel >= 1.0}
 %{!?_with_log4cpp:BuildRequires: liblog4shib-devel >= 1.0.4}
@@ -61,6 +67,12 @@ Group:               Development/Libraries/C and C++
 Requires:      libsaml8 = %{version}-%{release}
 Provides:      @PACKAGE_NAME@-devel = %{version}-%{release}
 Obsoletes:     @PACKAGE_NAME@-devel < %{version}-%{release}
+%if 0%{?suse_version} > 1030 && 0%{?suse_version} < 1130
+BuildRequires:  libXerces-c-devel >= 2.8.0
+%else
+BuildRequires:  libxerces-c-devel >= 2.8.0
+%endif
+Requires: libxml-security-c-devel >= 1.4.0
 Requires: libxmltooling-devel >= 1.4
 %{?_with_log4cpp:Requires: liblog4cpp-devel >= 1.0}
 %{!?_with_log4cpp:Requires: liblog4shib-devel >= 1.0.4}