From 3a8ce7e340ae175e90e45aab14c141d300cf2e84 Mon Sep 17 00:00:00 2001 From: malc Date: Fri, 24 Jan 2014 20:15:36 +0000 Subject: [PATCH] Make perl-XML-LibXML-XPathContext rpm a required dependency for CentOS/RHEL 5 only. It conflicts with perl-XML-LibXML on RHEL/CentOS 6. Release RPM as v1.29-2 --- libnet-z3950-zoom-perl.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libnet-z3950-zoom-perl.spec b/libnet-z3950-zoom-perl.spec index f3abc1b..c117ddf 100644 --- a/libnet-z3950-zoom-perl.spec +++ b/libnet-z3950-zoom-perl.spec @@ -2,7 +2,7 @@ Summary: Perl implementation of the ZOOM abstract API Name: libnet-z3950-zoom-perl Version: %{idmetaversion} -Release: 1.indexdata +Release: 2.indexdata License: Perl Group: Applications/Internet Vendor: Index Data ApS @@ -16,7 +16,7 @@ URL: http://www.indexdata.com/masterkey/ Requires: libyaz5 Requires: perl-MARC-Record Requires: perl-XML-LibXML -Requires: perl-XML-LibXML-XPathContext +%{?el5:Requires: perl-XML-LibXML-XPathContext} %description This module provides a nice, Perlish implementation of the ZOOM @@ -67,6 +67,8 @@ rm -fr ${RPM_BUILD_ROOT} %{perl_vendorarch} %changelog +* Fri Jan 24 2014 John Malconian +- Require perl-XML-LibXML-XPathContext on RHEL/CentOS v5 or lower only. * Mon Jul 12 2010 Mike Taylor - First Red Hat packaged version. -- 1.7.10.4