psabata pushed to perl-XML-Parser-Lite (master). "0.721 bumpity (..more)"

notifications at fedoraproject.org notifications at fedoraproject.org
Fri Jun 12 13:39:43 UTC 2015


From afb3770ac0f1cb14f97688d33173416a705d674c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20=C5=A0abata?= <contyk at redhat.com>
Date: Fri, 12 Jun 2015 15:31:10 +0200
Subject: 0.721 bumpity

- Patch for rt#98635 incorporated upstream
- Patch for rt#91434 shouldn't be required now

diff --git a/.gitignore b/.gitignore
index a173311..b988413 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 /XML-Parser-Lite-0.719.tar.gz
 /XML-Parser-Lite-0.72.tar.gz
+/XML-Parser-Lite-0.721.tar.gz
diff --git a/perl-XML-Parser-Lite-0.719-plan.patch b/perl-XML-Parser-Lite-0.719-plan.patch
deleted file mode 100644
index d1a39e2..0000000
--- a/perl-XML-Parser-Lite-0.719-plan.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/t/26-xmlrpc.t b/t/26-xmlrpc.t
-index c747636..199b266 100644
---- a/t/26-xmlrpc.t
-+++ b/t/26-xmlrpc.t
-@@ -25,7 +25,7 @@ SKIP: {
-     $r = $s->test_connection;
- 
-     unless ( defined $r && defined $r->envelope ) {
--        skip 'need XMLRPC::Lite', 8 if $@;
-+        skip 'need XMLRPC::Lite', 6 if $@;
-         print "1..0 # Skip: ", $s->transport->status, "\n";
-         exit;
-     }
diff --git a/perl-XML-Parser-Lite-0.719-tests.patch b/perl-XML-Parser-Lite-0.719-tests.patch
deleted file mode 100644
index df38745..0000000
--- a/perl-XML-Parser-Lite-0.719-tests.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-diff --git a/t/37-mod_xmlrpc.t b/t/37-mod_xmlrpc.t
-index 67d5370..b8a23bf 100644
---- a/t/37-mod_xmlrpc.t
-+++ b/t/37-mod_xmlrpc.t
-@@ -7,11 +7,11 @@ use Test::More;
- 
- BEGIN { plan tests => 17 }
- 
--eval { require XMLRPC::Lite };
-+eval { require XMLRPC::Test::Server };
- 
- SKIP: {
- 
--    skip 'need XMLRPC::Lite', 17 if $@;
-+    skip 'need XMLRPC::Test::Server', 17 if $@;
- 
-     XMLRPC::Test::Server::run_for( shift || 'http://localhost/mod_xmlrpc' );
- 
diff --git a/perl-XML-Parser-Lite.spec b/perl-XML-Parser-Lite.spec
index 971fa40..7b64bc5 100644
--- a/perl-XML-Parser-Lite.spec
+++ b/perl-XML-Parser-Lite.spec
@@ -1,20 +1,17 @@
 Name:           perl-XML-Parser-Lite
 # Use three digits since 0.719 -> 0.72
-%global cpan_version 0.72
-Version:        %{cpan_version}0
-Release:        4%{?dist}
+%global cpan_version 0.721
+Version:        %{cpan_version}
+Release:        1%{?dist}
 Summary:        Lightweight regexp-based XML parser
 License:        (GPL+ or Artistic) and REX
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/XML-Parser-Lite/
 Source0:        http://www.cpan.org/authors/id/P/PH/PHRED/XML-Parser-Lite-%{cpan_version}.tar.gz
-# rt#91434
-Patch0:         perl-XML-Parser-Lite-0.719-tests.patch
-# rt#98635
-Patch1:         perl-XML-Parser-Lite-0.719-plan.patch
 BuildArch:      noarch
 # SOAP::Lite is not actually needed
 # Build
+BuildRequires:  make
 BuildRequires:  perl
 BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
 BuildRequires:  perl(strict)
@@ -25,6 +22,7 @@ BuildRequires:  perl(re)
 BuildRequires:  perl(diagnostics)
 BuildRequires:  perl(Test)
 BuildRequires:  perl(Test::More)
+BuildRequires:  perl(Test::Requires)
 # Optional tests only
 %if !%{defined perl_bootstrap}
 # Break build-cycle: perl-XML-Parser-Lite → perl-SOAP-Lite
@@ -32,7 +30,8 @@ BuildRequires:  perl(Test::More)
 BuildRequires:  perl(SOAP::Test)
 # Break build-cycle: perl-XML-Parser-Lite → perl-XMLRPC-Lite → perl-SOAP-Lite
 # → perl-XML-Parser-Lite
-BuildRequires:  perl(XMLRPC::Lite)
+BuildRequires:  perl(XMLRPC::Lite) >= 0.717
+BuildRequires:  perl(XMLRPC::Test) >= 0.717
 BuildRequires:  perl(XMLRPC::Test::Server)
 %endif
 Requires:       perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
@@ -44,8 +43,6 @@ use it in the same way you use XML::Parser.
 
 %prep
 %setup -q -n XML-Parser-Lite-%{cpan_version}
-%patch0 -p1
-%patch1 -p1
 
 %build
 perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
@@ -64,6 +61,11 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Fri Jun 12 2015 Petr Šabata <contyk at redhat.com> - 0.721-1
+- 0.721 bumpity
+- Patch for rt#98635 incorporated upstream
+- Patch for rt#91434 shouldn't be required now
+
 * Wed Jun 10 2015 Jitka Plesnikova <jplesnik at redhat.com> - 0.720-4
 - Perl 5.22 re-rebuild of bootstrapped packages
 
diff --git a/sources b/sources
index 5b38858..e735582 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-d482cb36f32153b37a8199886dcfe95b  XML-Parser-Lite-0.72.tar.gz
+ad8a87b9bf413aa540c7cb724d650808  XML-Parser-Lite-0.721.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-XML-Parser-Lite.git/commit/?h=master&id=afb3770ac0f1cb14f97688d33173416a705d674c


More information about the perl-devel mailing list