2.0126 bump

This commit is contained in:
Petr Písař 2016-07-04 15:09:04 +02:00
parent 8532199283
commit 43fb6de416
3 changed files with 15 additions and 5 deletions

1
.gitignore vendored
View File

@ -43,3 +43,4 @@ XML-LibXML-1.70.tar.gz
/XML-LibXML-2.0123.tar.gz
/XML-LibXML-2.0124.tar.gz
/XML-LibXML-2.0125.tar.gz
/XML-LibXML-2.0126.tar.gz

View File

@ -7,7 +7,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: 2.0125
Version: 2.0126
Release: 1%{?dist}
Epoch: 1
Summary: Perl interface to the libxml2 library
@ -21,7 +21,6 @@ BuildRequires: glibc-common
BuildRequires: gcc
BuildRequires: libxml2-devel
BuildRequires: make
BuildRequires: sed
BuildRequires: perl
BuildRequires: perl-devel
BuildRequires: perl-generators
@ -35,6 +34,7 @@ BuildRequires: perl(strict)
BuildRequires: perl(Symbol)
BuildRequires: perl(vars)
BuildRequires: perl(warnings)
BuildRequires: sed
# Run-time
BuildRequires: perl(base)
BuildRequires: perl(Carp)
@ -66,6 +66,9 @@ BuildRequires: perl(XML::SAX::ParserFactory)
BuildRequires: perl(Test::LeakTrace)
%endif
BuildRequires: perl(Test::Pod) >= 1.14
%if ! ( 0%{?rhel} && 0%{?rhel} < 7 )
BuildRequires: perl(Test::Kwalitee::Extra)
%endif
# Optional Test::TrailingSpace
%if %{with thread_test}
BuildRequires: perl(threads)
@ -74,6 +77,9 @@ BuildRequires: perl(threads::shared)
BuildRequires: perl(URI::file)
BuildRequires: perl(utf8)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
# Run-require "perl" because a triggerin script needs it.
Requires: perl
Requires(preun): perl
# threads and threads::shared are optional
Provides: perl-XML-LibXML-Common = %{version}
Obsoletes: perl-XML-LibXML-Common <= 0.13
@ -111,14 +117,14 @@ THREAD_TEST=0%{?with_thread_test:1} make test
%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()" \
%{_bindir}/perl -MXML::SAX -e "XML::SAX->add_parser(q($p))->save_parsers()" \
2>/dev/null || :
done
%preun
if [ $1 -eq 0 ] ; then
for p in XML::LibXML::SAX::Parser XML::LibXML::SAX ; do
perl -MXML::SAX -e "XML::SAX->remove_parser(q($p))->save_parsers()" \
%{_bindir}/perl -MXML::SAX -e "XML::SAX->remove_parser(q($p))->save_parsers()" \
2>/dev/null || :
done
fi
@ -131,6 +137,9 @@ fi
%{_mandir}/man3/*.3*
%changelog
* Mon Jul 04 2016 Petr Pisar <ppisar@redhat.com> - 1:2.0126-1
- 2.0126 bump
* Thu Jun 02 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.0125-1
- 2.0125 bump

View File

@ -1 +1 @@
a0c1ff8588e1b08cd6323f478b3dfc31 XML-LibXML-2.0125.tar.gz
c6007524ddec3be6cfbb8f68f5aa791c XML-LibXML-2.0126.tar.gz