From: Scott Cantor Date: Tue, 28 Jun 2011 19:48:42 +0000 (+0000) Subject: Filter out vanilla libcurl on RH6 X-Git-Tag: 1.5.0~104 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-xmltooling.git;a=commitdiff_plain;h=dcb6f62a0c08d1ceac689fae792199a3cd539e59 Filter out vanilla libcurl on RH6 --- diff --git a/xmltooling.spec.in b/xmltooling.spec.in index 4d84ccf..4cfc7c9 100644 --- a/xmltooling.spec.in +++ b/xmltooling.spec.in @@ -1,12 +1,12 @@ Name: @PACKAGE_NAME@ Version: @PACKAGE_VERSION@ Release: 1 -Summary: OpenSAML XMLTooling library +Summary: OpenSAML XMLTooling library Group: Development/Libraries/C and C++ Vendor: Internet2 License: Apache 2.0 URL: http://www.opensaml.org/ -Source: %{name}-%{version}.tar.gz +Source: %{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 @@ -37,6 +37,12 @@ BuildRequires: redhat-rpm-config %define pkgdocdir %{_docdir}/%{name}-%{version} %endif +# Prevent the RH6 package from requiring a vanilla libcurl. +%if 0%{?rhel} >= 6 +%filter_from_requires /libcurl\.so\..*/d +%filter_setup +%endif + %description The XMLTooling library contains generic XML parsing and processing classes based on the Xerces-C DOM. It adds more powerful facilities