[perl-XML-LibXML] update to 1.74

Marcela Mašláňová mmaslano at fedoraproject.org
Fri Jun 24 12:12:31 UTC 2011


commit b5e52977918a1b3d201bcc726753f88ed28b94d5
Author: Marcela Mašláňová <mmaslano at redhat.com>
Date:   Fri Jun 24 14:12:03 2011 +0200

    update to 1.74

 .gitignore           |    1 +
 perl-XML-LibXML.spec |   22 ++++++++--------------
 sources              |    2 +-
 3 files changed, 10 insertions(+), 15 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 1c34d3d..4f88340 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 XML-LibXML-1.70.tar.gz
+/XML-LibXML-1.74.tar.gz
diff --git a/perl-XML-LibXML.spec b/perl-XML-LibXML.spec
index a31a579..5d2fcb9 100644
--- a/perl-XML-LibXML.spec
+++ b/perl-XML-LibXML.spec
@@ -1,22 +1,19 @@
 Name:           perl-XML-LibXML
 # NOTE: also update perl-XML-LibXSLT to a compatible version, see
 # https://bugzilla.redhat.com/show_bug.cgi?id=469480
-Version:        1.70
-Release:        7%{?dist}
-# Epoch set when version went from 1.62001 to 1.65
+# it might not be needed anymore
+# this module is maintained, the other is not
+Version:        1.74
+Release:        1%{?dist}
 Epoch:          1
 Summary:        Perl interface to the libxml2 library
 
 Group:          Development/Libraries
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/XML-LibXML/
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
 
-Requires:       %(perl -MConfig -le 'if (defined $Config{useithreads}) { print "perl(:WITH_ITHREADS)" } else { print "perl(:WITHOUT_ITHREADS)" }')
-Requires:       %(perl -MConfig -le 'if (defined $Config{usethreads}) { print "perl(:WITH_THREADS)" } else { print "perl(:WITHOUT_THREADS)" }')
-Requires:       %(perl -MConfig -le 'if (defined $Config{uselargefiles}) { print "perl(:WITH_LARGEFILES)" } else { print "perl(:WITHOUT_LARGEFILES)" }')
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-Source0:        http://www.cpan.org/authors/id/P/PA/PAJAS/XML-LibXML-%{version}.tar.gz
+Source0:        http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/XML-LibXML-%{version}.tar.gz 
 BuildRequires:  perl(XML::NamespaceSupport)
 BuildRequires:  perl(XML::SAX)
 BuildRequires:  perl(ExtUtils::MakeMaker), perl(Test::More)
@@ -24,7 +21,6 @@ BuildRequires:  libxml2-devel
 Provides:       perl-XML-LibXML-Common = %{version}
 Obsoletes:      perl-XML-LibXML-Common <= 0.13
 
-# Don't "provide" private Perl libs
 %{?perl_default_filter}
 
 %description
@@ -45,7 +41,6 @@ done
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
 make pure_install DESTDIR=$RPM_BUILD_ROOT
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
 find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
@@ -55,9 +50,6 @@ chmod -R u+w $RPM_BUILD_ROOT/*
 %check
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %triggerin -- perl-XML-SAX
 for p in XML::LibXML::SAX::Parser XML::LibXML::SAX ; do
   perl -MXML::SAX -e "XML::SAX->add_parser(q($p))->save_parsers()" \
@@ -73,13 +65,15 @@ if [ $1 -eq 0 ] ; then
 fi
 
 %files
-%defattr(-,root,root,-)
 %doc Changes LICENSE README
 %{perl_vendorarch}/auto/XML
 %{perl_vendorarch}/XML
 %{_mandir}/man3/*.3*
 
 %changelog
+* Fri Jun 24 2011 Marcela Mašláňová <mmaslano at redhat.com> - 1:1.74-1
+- update to 1.74
+
 * Wed Feb 09 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1:1.70-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
diff --git a/sources b/sources
index ab986fb..3c98650 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-33d4294f708e20c298cfe534d1166844  XML-LibXML-1.70.tar.gz
+37210f91b11e6c334a89edb46895bc1b  XML-LibXML-1.74.tar.gz


More information about the scm-commits mailing list