From dcb6f62a0c08d1ceac689fae792199a3cd539e59 Mon Sep 17 00:00:00 2001 From: Scott Cantor Date: Tue, 28 Jun 2011 19:48:42 +0000 Subject: [PATCH] Filter out vanilla libcurl on RH6 --- xmltooling.spec.in | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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 -- 2.1.4