From 43fb6de41654f64fd573a4e9ce814a7bdeeb9f1d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppi...@redhat.com>
Date: Mon, 4 Jul 2016 15:09:04 +0200
Subject: 2.0126 bump

---
 .gitignore           |  1 +
 perl-XML-LibXML.spec | 17 +++++++++++++----
 sources              |  2 +-
 3 files changed, 15 insertions(+), 5 deletions(-)

diff --git a/.gitignore b/.gitignore
index aebf8e8..361bbbf 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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
diff --git a/perl-XML-LibXML.spec b/perl-XML-LibXML.spec
index aa0c4a6..99bf359 100644
--- a/perl-XML-LibXML.spec
+++ b/perl-XML-LibXML.spec
@@ -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 <ppi...@redhat.com> - 1:2.0126-1
+- 2.0126 bump
+
 * Thu Jun 02 2016 Jitka Plesnikova <jples...@redhat.com> - 1:2.0125-1
 - 2.0125 bump
 
diff --git a/sources b/sources
index 02dd7a3..fc6ad0e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a0c1ff8588e1b08cd6323f478b3dfc31  XML-LibXML-2.0125.tar.gz
+c6007524ddec3be6cfbb8f68f5aa791c  XML-LibXML-2.0126.tar.gz
-- 
cgit v0.12


        
http://pkgs.fedoraproject.org/cgit/perl-XML-LibXML.git/commit/?h=master&id=43fb6de41654f64fd573a4e9ce814a7bdeeb9f1d
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

Reply via email to