From f3cb99358eae15c3005a4d86078910fd87ec47ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Thu, 23 Feb 2012 10:14:41 +0100 Subject: [PATCH] 1.92 bump --- .gitignore | 1 + perl-XML-LibXML.spec | 50 ++++++++++++++++++++++++++++++++++++-------- sources | 2 +- 3 files changed, 43 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index eab34ff..d15f2f2 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ XML-LibXML-1.70.tar.gz /XML-LibXML-1.74.tar.gz /XML-LibXML-1.88.tar.gz /XML-LibXML-1.90.tar.gz +/XML-LibXML-1.92.tar.gz diff --git a/perl-XML-LibXML.spec b/perl-XML-LibXML.spec index 4db8471..2b7acd3 100644 --- a/perl-XML-LibXML.spec +++ b/perl-XML-LibXML.spec @@ -3,7 +3,7 @@ Name: perl-XML-LibXML # https://bugzilla.redhat.com/show_bug.cgi?id=469480 # it might not be needed anymore # this module is maintained, the other is not -Version: 1.90 +Version: 1.92 Release: 1%{?dist} Epoch: 1 Summary: Perl interface to the libxml2 library @@ -11,13 +11,40 @@ Summary: Perl interface to the libxml2 library Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/XML-LibXML/ - -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) 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) + BuildRequires: libxml2-devel +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(File::Spec) +# Run-time +BuildRequires: perl(base) +BuildRequires: perl(Carp) +BuildRequires: perl(constant) +BuildRequires: perl(Data::Dumper) +BuildRequires: perl(DynaLoader) +BuildRequires: perl(Encode) +BuildRequires: perl(Exporter) +BuildRequires: perl(IO::File) +BuildRequires: perl(IO::Handle) +BuildRequires: perl(Scalar::Util) +BuildRequires: perl(Tie::Hash) +BuildRequires: perl(XML::NamespaceSupport) +BuildRequires: perl(XML::SAX::Base) +BuildRequires: perl(XML::SAX::DocumentLocator) +BuildRequires: perl(XML::SAX::Exception) +# Tests +# Optional Test::Differences has a fall-back +BuildRequires: perl(Errno) +BuildRequires: perl(lib) +BuildRequires: perl(Test::More) +BuildRequires: perl(XML::SAX) +# Optional tests +BuildRequires: perl(Test::Pod) >= 1.14 +BuildRequires: perl(threads) +BuildRequires: perl(threads::shared) +BuildRequires: perl(URI::file) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +# threads and threads::shared are optional Provides: perl-XML-LibXML-Common = %{version} Obsoletes: perl-XML-LibXML-Common <= 0.13 @@ -31,7 +58,7 @@ validating XML parser and the high performance DOM implementation. %prep %setup -q -n XML-LibXML-%{version} - +chmod -x *.c for i in Changes; do /usr/bin/iconv -f iso8859-1 -t utf-8 $i > $i.conv && /bin/mv -f $i.conv $i done @@ -52,7 +79,7 @@ chmod -R u+w $RPM_BUILD_ROOT/* # see rhbz#769537 rm t/12html.t %endif -make test +THREAD_TEST=1 make test %triggerin -- perl-XML-SAX for p in XML::LibXML::SAX::Parser XML::LibXML::SAX ; do @@ -69,12 +96,17 @@ if [ $1 -eq 0 ] ; then fi %files -%doc Changes LICENSE README +%doc Changes HACKING.txt LICENSE README TODO %{perl_vendorarch}/auto/XML %{perl_vendorarch}/XML %{_mandir}/man3/*.3* %changelog +* Thu Feb 23 2012 Petr Pisar - 1:1.92-1 +- 1.92 bump +- Declare all dependencies +- Enable thread tests + * Wed Jan 10 2012 Marcela Mašláňová - 1:1.90-1 - update to 1.90 diff --git a/sources b/sources index c648854..978d3af 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -4831d5fcda76f3f3ac456e5973f017ed XML-LibXML-1.90.tar.gz +b2dec278bfb71f6938085e3590530a52 XML-LibXML-1.92.tar.gz