From 17cd3fe3d669c14d7d1ba0e4f8f519e159067fa5 Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova <jples...@redhat.com>
Date: Tue, 15 Mar 2016 12:53:33 +0100
Subject: 0.74 bump

---
 .gitignore                                         |  1 +
 ...Pal-API-0.73-Use-autodie-only-if-WPP_TEST.patch | 89 ----------------------
 perl-Business-PayPal-API.spec                      | 13 ++--
 sources                                            |  2 +-
 4 files changed, 8 insertions(+), 97 deletions(-)
 delete mode 100644 Business-PayPal-API-0.73-Use-autodie-only-if-WPP_TEST.patch

diff --git a/.gitignore b/.gitignore
index 31668c8..dfe5546 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 /Business-PayPal-API-0.70.tar.gz
 /Business-PayPal-API-0.73.tar.gz
+/Business-PayPal-API-0.74.tar.gz
diff --git a/Business-PayPal-API-0.73-Use-autodie-only-if-WPP_TEST.patch 
b/Business-PayPal-API-0.73-Use-autodie-only-if-WPP_TEST.patch
deleted file mode 100644
index 5da5c4b..0000000
--- a/Business-PayPal-API-0.73-Use-autodie-only-if-WPP_TEST.patch
+++ /dev/null
@@ -1,89 +0,0 @@
-From c62075133d414f7668abd11584513fc23a580207 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppi...@redhat.com>
-Date: Mon, 18 Jan 2016 13:36:13 +0100
-Subject: [PATCH] Use autodie only if WPP_TEST
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-If WPP_TEST is not set (default), the autodie and IPC::System::Simple
-are loaded and then the tests exit. Postponing loding them after
-checking WPP_TEST allows to free the default tests from autodie and
-IPC::System::Simple dependencies.
-
-Signed-off-by: Petr Písař <ppi...@redhat.com>
----
- t/advanced/OptionFields.t      | 17 ++++++++++-------
- t/basic/SubscriptionPayments.t | 17 ++++++++++-------
- 2 files changed, 20 insertions(+), 14 deletions(-)
-
-diff --git a/t/advanced/OptionFields.t b/t/advanced/OptionFields.t
-index 73831cc..21ae7c1 100644
---- a/t/advanced/OptionFields.t
-+++ b/t/advanced/OptionFields.t
-@@ -1,17 +1,20 @@
- use strict;
--use autodie qw(:all);
- 
- use Cwd;
- use Test::More;
- 
--if ( !$ENV{WPP_TEST} || !-f $ENV{WPP_TEST} ) {
--    plan skip_all =>
--        'No WPP_TEST env var set. Please see README to run tests';
--}
--else {
--    plan tests => 14;
-+BEGIN {
-+    if ( !$ENV{WPP_TEST} || !-f $ENV{WPP_TEST} ) {
-+        plan skip_all =>
-+            'No WPP_TEST env var set. Please see README to run tests';
-+    }
-+    else {
-+        plan tests => 14;
-+    }
- }
- 
-+use autodie qw(:all);
-+
- use_ok('Business::PayPal::API::TransactionSearch');
- use_ok('Business::PayPal::API::GetTransactionDetails');
- 
-diff --git a/t/basic/SubscriptionPayments.t b/t/basic/SubscriptionPayments.t
-index 1ad672f..2b6ce7f 100644
---- a/t/basic/SubscriptionPayments.t
-+++ b/t/basic/SubscriptionPayments.t
-@@ -1,20 +1,23 @@
- # -*- mode: cperl -*-
- use strict;
- use warnings;
--use autodie qw(:all);
- 
- use Cwd;
- use List::AllUtils;
- use Test::More;
- 
--if ( !$ENV{WPP_TEST} || !-f $ENV{WPP_TEST} ) {
--    plan skip_all =>
--        'No WPP_TEST env var set. Please see README to run tests';
--}
--else {
--    plan tests => 5;
-+BEGIN {
-+    if ( !$ENV{WPP_TEST} || !-f $ENV{WPP_TEST} ) {
-+        plan skip_all =>
-+            'No WPP_TEST env var set. Please see README to run tests';
-+    }
-+    else {
-+        plan tests => 5;
-+    }
- }
- 
-+use autodie qw(:all);
-+
- use_ok('Business::PayPal::API::TransactionSearch');
- #########################
- 
--- 
-2.5.0
-
diff --git a/perl-Business-PayPal-API.spec b/perl-Business-PayPal-API.spec
index f082c8f..8483308 100644
--- a/perl-Business-PayPal-API.spec
+++ b/perl-Business-PayPal-API.spec
@@ -1,21 +1,18 @@
 %{?perl_default_filter}
 %global __requires_exclude 
%{?__requires_exclude:__requires_exclude|}^perl\\(SOAP::Lite\\)$
 Name:           perl-Business-PayPal-API
-Version:        0.73
-Release:        3%{?dist}
+Version:        0.74
+Release:        1%{?dist}
 Summary:        PayPal API
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Business-PayPal-API/
 Source0:        
http://www.cpan.org/modules/by-module/Business/Business-PayPal-API-%{version}.tar.gz
-# Drop dependency on autodie that fails on bootstrap because of missing
-# IPC::System::Simple,
-# <https://github.com/oalders/business-paypal-api/issues/9>
-Patch0:         Business-PayPal-API-0.73-Use-autodie-only-if-WPP_TEST.patch
 BuildArch:      noarch
 BuildRequires:  findutils
 BuildRequires:  make
 BuildRequires:  perl
+BuildRequires:  perl(autodie)
 BuildRequires:  perl(Carp)
 BuildRequires:  perl(Cwd)
 BuildRequires:  perl(Data::Printer)
@@ -34,7 +31,6 @@ Business::PayPal::API supports both certificate 
authentication and the new
 
 %prep
 %setup -q -n Business-PayPal-API-%{version}
-%patch0 -p1
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -57,6 +53,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Tue Mar 15 2016 Jitka Plesnikova <jples...@redhat.com> - 0.74-1
+- 0.74 bump
+
 * Thu Feb 04 2016 Fedora Release Engineering <rel...@fedoraproject.org> - 
0.73-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
 
diff --git a/sources b/sources
index 0138585..1c08dc7 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-dabe9e264e0b97f8b207ae3ef2b52791  Business-PayPal-API-0.73.tar.gz
+eec667b55626ddddaef96f3c543b9c13  Business-PayPal-API-0.74.tar.gz
-- 
cgit v0.12


        
http://pkgs.fedoraproject.org/cgit/perl-Business-PayPal-API.git/commit/?h=f24&id=17cd3fe3d669c14d7d1ba0e4f8f519e159067fa5
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

Reply via email to