rpms/perl-XML-LibXSLT/devel perl-XML-LibXSLT.spec,1.15,1.16

Štěpán Kasal kasal at fedoraproject.org
Mon Nov 3 14:53:13 UTC 2008


Author: kasal

Update of /cvs/extras/rpms/perl-XML-LibXSLT/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv27176

Modified Files:
	perl-XML-LibXSLT.spec 
Log Message:
- require XML::LibXML of the same version


Index: perl-XML-LibXSLT.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-XML-LibXSLT/devel/perl-XML-LibXSLT.spec,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- perl-XML-LibXSLT.spec	9 Aug 2008 03:02:33 -0000	1.15
+++ perl-XML-LibXSLT.spec	3 Nov 2008 14:52:43 -0000	1.16
@@ -1,8 +1,10 @@
 %{!?perl_vendorarch: %define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)}
 
 Name:		perl-XML-LibXSLT
+
+# NOTE: also update perl-XML-LibXML to the matching version.  See below why.
 Version:	1.66
-Release:	1%{?dist}
+Release:	2%{?dist}
 
 Summary:	Perl module for interfacing to GNOME's libxslt
 
@@ -11,10 +13,15 @@
 URL:		http://search.cpan.org/dist/XML-LibXSLT/
 Source0:	http://search.cpan.org/CPAN/authors/id/P/PA/PAJAS/XML-LibXSLT-1.66.tar.gz
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires:  perl >= 1:5.6.1, perl-devel, perl(XML::LibXML) >= 1.66
+BuildRequires:  perl >= 1:5.6.1, perl-devel
 BuildRequires:	libxslt-devel >= 1.1.18, gdbm-devel
 Requires:  	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
+# the package shares code with perl-XML-LibXML, we have to require the same version
+# see https://bugzilla.redhat.com/show_bug.cgi?id=469480
+BuildRequires:  perl(XML::LibXML) = %{version}
+Requires:       perl(XML::LibXML) = %{version}
+
 %description
 This module is a fast XSLT library, based on the Gnome libxslt engine
 that you can find at http://www.xmlsoft.org/XSLT/
@@ -49,6 +56,9 @@
 %{_mandir}/man3/*.3*
 
 %changelog
+* Mon Nov  3 2008 Stepan Kasal <skasal at redhat.com> - 1.66-2
+- require XML::LibXML of the same version
+
 * Fri Aug  8 2008 Zing <zing at fastmail.fm> - 1.66-1
 - update to 1.66
 




More information about the Fedora-perl-devel-list mailing list