1.92 bump

This commit is contained in:
Petr Písař 2012-02-23 10:14:41 +01:00
parent 43e4628c68
commit f3cb99358e
3 changed files with 43 additions and 10 deletions

1
.gitignore vendored
View File

@ -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

View File

@ -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 <ppisar@redhat.com> - 1:1.92-1
- 1.92 bump
- Declare all dependencies
- Enable thread tests
* Wed Jan 10 2012 Marcela Mašláňová <mmaslano@redhat.com> - 1:1.90-1
- update to 1.90

View File

@ -1 +1 @@
4831d5fcda76f3f3ac456e5973f017ed XML-LibXML-1.90.tar.gz
b2dec278bfb71f6938085e3590530a52 XML-LibXML-1.92.tar.gz