rpms/perl-XML-LibXML/devel perl-XML-LibXML.spec, 1.20, 1.21 perl-XML-LibXML-1.53-nosaxinst.patch, 1.1, NONE perl-XML-LibXML-1.56-noextern.patch, 1.1, NONE perl-XML-LibXML-1.62-undef-test-fix.patch, 1.1, NONE

Robin Norwood (rnorwood) fedora-extras-commits at redhat.com
Wed Oct 24 21:00:29 UTC 2007


Author: rnorwood

Update of /cvs/pkgs/rpms/perl-XML-LibXML/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10801

Modified Files:
	perl-XML-LibXML.spec 
Removed Files:
	perl-XML-LibXML-1.53-nosaxinst.patch 
	perl-XML-LibXML-1.56-noextern.patch 
	perl-XML-LibXML-1.62-undef-test-fix.patch 
Log Message:
update to latest release.  Remove unused patches.  Clean up spec file.


Index: perl-XML-LibXML.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-XML-LibXML/devel/perl-XML-LibXML.spec,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- perl-XML-LibXML.spec	17 Oct 2007 05:07:02 -0000	1.20
+++ perl-XML-LibXML.spec	24 Oct 2007 20:59:54 -0000	1.21
@@ -1,40 +1,34 @@
-%{!?perl_vendorarch: %define perl_vendorarch %(eval "`perl -V:installvendorarch`"; echo $installvendorarch)}
-
-Summary: XML-LibXML Perl module
-Name: perl-XML-LibXML
-Version: 1.62001
-Release: 2%{?dist}.3
-License: GPL+ or Artistic
-Group: Development/Libraries
-URL: http://search.cpan.org/dist/XML-LibXML/
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
-BuildRequires: perl >= 2:5.8.0
-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_%(perl -MConfig -e 'print $Config{version}'))
-Source0: http://www.cpan.org/authors/id/P/PA/PAJAS/XML-LibXML-1.62001.tar.gz
-Patch0: perl-XML-LibXML-1.62-undef-test-fix.patch
-BuildRequires: perl-XML-LibXML-Common perl-XML-SAX perl-XML-NamespaceSupport
-BuildRequires: libxml2-devel
-BuildRequires: perl(ExtUtils::MakeMaker)
-BuildRequires: perl(Test::More)
-Requires: perl-XML-LibXML-Common perl-XML-SAX perl-XML-NamespaceSupport
+Name:           perl-XML-LibXML
+Version:        1.65
+Release:        1%{?dist}
+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
+BuildRequires:  perl(XML::LibXML::Common), perl(XML::SAX), perl(XML::NamespaceSupport)
+BuildRequires:  perl(ExtUtils::MakeMaker), perl(Test::More)
+BuildRequires:  libxml2-devel
 
 %description
-%{summary}.
+This module implements a Perl interface to the GNOME libxml2 library
+which provides interfaces for parsing and manipulating XML files. This
+module allows Perl programmers to make use of the highly capable
+validating XML parser and the high performance DOM implementation.
 
 %prep
-
-#Note hardcoded version # here, because XML-LibXML-1.62001.tar.gz
-#contains a dir called XML-LibXML-1.62
-
-%setup -q -n XML-LibXML-1.62
-%patch0 -p1
+%setup -q -n XML-LibXML-%{version}
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" SKIP_SAX_INSTALL=1 perl Makefile.PL INSTALLDIRS=vendor
-make OPTIMIZE="$RPM_OPT_FLAGS"
+%{__perl} Makefile.PL SKIP_SAX_INSTALL=1 INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
+make %{?_smp_mflags}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -46,7 +40,11 @@
 find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
 chmod -R u+w $RPM_BUILD_ROOT/*
 
-%check || :
+for i in Changes; do
+  /usr/bin/iconv -f iso8859-1 -t utf-8 $i > $i.conv && /bin/mv -f $i.conv $i
+done
+
+%check
 make test
 
 %clean
@@ -73,6 +71,11 @@
 %{_mandir}/man3/*.3*
 
 %changelog
+* Wed Oct 24 2007 Robin Norwood <rnorwood at redhat.com> - 1.65-1
+- Update to latest CPAN release: 1.65
+- patch0 no longer needed
+- various spec file cleanups
+
 * Wed Oct 17 2007 Tom "spot" Callaway <tcallawa at redhat.com> - 1.62001-2.3
 - fix stupid test
 


--- perl-XML-LibXML-1.53-nosaxinst.patch DELETED ---


--- perl-XML-LibXML-1.56-noextern.patch DELETED ---


--- perl-XML-LibXML-1.62-undef-test-fix.patch DELETED ---




More information about the fedora-extras-commits mailing list