ppisar pushed to perl-Net-eBay (master). "0.61 bump"

notifications at fedoraproject.org notifications at fedoraproject.org
Fri Jun 19 19:54:47 UTC 2015


From f2d77d72b55c26b43cfe3eba0bcc8c6449a067cc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar at redhat.com>
Date: Fri, 19 Jun 2015 15:09:44 +0200
Subject: 0.61 bump


diff --git a/.gitignore b/.gitignore
index 44761b6..a1cf267 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 Net-eBay-0.52.tar.gz
 /Net-eBay-0.55.tar.gz
+/Net-eBay-0.61.tar.gz
diff --git a/Net-eBay-0.61-Do-use-non-existent-IgorBusinessRules.patch b/Net-eBay-0.61-Do-use-non-existent-IgorBusinessRules.patch
new file mode 100644
index 0000000..3f12ac8
--- /dev/null
+++ b/Net-eBay-0.61-Do-use-non-existent-IgorBusinessRules.patch
@@ -0,0 +1,43 @@
+From d5d1ffd783341d715f073d4452e99e161bc058ba Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar at redhat.com>
+Date: Fri, 19 Jun 2015 14:56:06 +0200
+Subject: [PATCH] Do use non-existent IgorBusinessRules
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+CPAN RT#105379
+
+Signed-off-by: Petr Písař <ppisar at redhat.com>
+---
+ ebay-add-item.pl    | 1 -
+ ebay-revise-item.pl | 1 -
+ 2 files changed, 2 deletions(-)
+
+diff --git a/ebay-add-item.pl b/ebay-add-item.pl
+index 6175dd4..2f4ef0f 100755
+--- a/ebay-add-item.pl
++++ b/ebay-add-item.pl
+@@ -9,7 +9,6 @@
+ # weight). Use it as a guide to write your own scripts, no more. 
+ #
+ 
+-use IgorBusinessRules;
+ use Net::eBay;
+ use Data::Dumper;
+ use Cwd;
+diff --git a/ebay-revise-item.pl b/ebay-revise-item.pl
+index c181cf1..b393002 100755
+--- a/ebay-revise-item.pl
++++ b/ebay-revise-item.pl
+@@ -3,7 +3,6 @@
+ use strict;
+ use warnings;
+ 
+-use IgorBusinessRules;
+ use Net::eBay;
+ use Data::Dumper;
+ 
+-- 
+2.1.0
+
diff --git a/perl-Net-eBay.spec b/perl-Net-eBay.spec
index 3446526..fe93e8e 100644
--- a/perl-Net-eBay.spec
+++ b/perl-Net-eBay.spec
@@ -1,35 +1,53 @@
 Name:           perl-Net-eBay
-Version:        0.55
-Release:        11%{?dist}
-
+Version:        0.61
+Release:        1%{?dist}
 Summary:        Perl Interface to XML based eBay API
-
 Group:          Development/Libraries
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/Net-eBay/
 Source0:        http://search.cpan.org/CPAN/authors/id/I/IC/ICHUDOV/Net-eBay-%{version}.tar.gz
+# Do no load a private IgorBusinessRules module, CPAN RT#105379
+Patch0:         Net-eBay-0.61-Do-use-non-existent-IgorBusinessRules.patch
 
 BuildArch:      noarch
+BuildRequires:  coreutils
+BuildRequires:  findutils
+BuildRequires:  make
+BuildRequires:  perl
 BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+BuildRequires:  sed
+# Run-time:
 BuildRequires:  perl(Carp)
-BuildRequires:  perl(Crypt::SSLeay)
-BuildRequires:  perl(Cwd)
+# Cwd not used at tests
 BuildRequires:  perl(Data::Dumper)
 BuildRequires:  perl(DateTime::Precise)
-BuildRequires:  perl(Getopt::Long)
-BuildRequires:  perl(HTML::FormatText)
-BuildRequires:  perl(HTML::PrettyPrinter)
-BuildRequires:  perl(HTML::TreeBuilder)
+# Getopt::Long not used at tests
+# HTML::FormatText not used at tests
+# HTML::PrettyPrinter not used at tests
+# HTML::TreeBuilder not used at tests
 BuildRequires:  perl(HTTP::Date)
-BuildRequires:  perl(HTTP::Status)
 BuildRequires:  perl(HTTP::Request::Common)
+BuildRequires:  perl(HTTP::Status)
+# LWP::Protocol::https for HTTPS, not Crypt::SSLeay or Net::SSLeay,
+# CPAN RT#105378
+BuildRequires:  perl(LWP::Protocol::https)
 BuildRequires:  perl(LWP::UserAgent)
-BuildRequires:  perl(Net::SSLeay)
-BuildRequires:  perl(Test::Pod::Coverage) >= 1.04
-BuildRequires:  perl(Test::Pod) >= 1.14
+# Text::Format not used at tests
+BuildRequires:  perl(utf8)
+BuildRequires:  perl(vars)
 BuildRequires:  perl(XML::Dumper)
 BuildRequires:  perl(XML::Simple)
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+# Tests:
+BuildRequires:  perl(Test::More)
+# Optional tests:
+BuildRequires:  perl(Test::Pod) >= 1.14
+# Test::Pod::Coverage 1.04 disabled, CPAN RT#97511
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+# LWP::Protocol::https for HTTPS, not Crypt::SSLeay or Net::SSLeay,
+# CPAN RT#105378
+Requires:       perl(LWP::Protocol::https)
 
 
 %description
@@ -38,17 +56,21 @@ This module helps user to easily execute queries against eBay's XML API.
 
 %prep
 %setup -q -n Net-eBay-%{version}
+%patch0 -p1
+# Skip Test::Pod::Coverage tests because they are not useful and fail,
+# CPAN RT#97511
+rm t/pod-coverage.t
+sed -i -e '/^t\/pod-coverage.t$/d' MANIFEST
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 
 %install
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+make pure_install DESTDIR=$RPM_BUILD_ROOT
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
-find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
-chmod -R u+w $RPM_BUILD_ROOT/*
+%{_fixperms} $RPM_BUILD_ROOT
 
 %check
 make test
@@ -68,6 +90,9 @@ make test
 
 
 %changelog
+* Fri Jun 19 2015 Petr Pisar <ppisar at redhat.com> - 0.61-1
+- 0.61 bump
+
 * Thu Jun 18 2015 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.55-11
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
diff --git a/sources b/sources
index 6795713..469f785 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-b6c6ba8f9c1fe68ecd67268b956b3ad1  Net-eBay-0.55.tar.gz
+dea399e543104b66a33a5719d2ce54f5  Net-eBay-0.61.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-Net-eBay.git/commit/?h=master&id=f2d77d72b55c26b43cfe3eba0bcc8c6449a067cc


More information about the perl-devel mailing list