[perl-Sub-Exporter] Update to 0.987

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 091f476f9a52e3179ccd35ea5b5741a914100fb5
Author: Paul Howarth <paul@xxxxxxxxxxxx>
Date:   Sat Oct 19 19:33:10 2013 +0100

    Update to 0.987
    
    - New upstream release 0.987 (update bugtracker metadata)
    - Update patches as needed

 ...t::More.patch => Sub-Exporter-0.987-tm088.patch |   27 ++++++++-----------
 Sub-Exporter-0.987-tm094.patch                     |   16 +++++++++++
 perl-Sub-Exporter.spec                             |   20 +++++++++++---
 sources                                            |    2 +-
 4 files changed, 43 insertions(+), 22 deletions(-)
---
diff --git a/Sub-Exporter-0.986-old-Test::More.patch b/Sub-Exporter-0.987-tm088.patch
similarity index 77%
rename from Sub-Exporter-0.986-old-Test::More.patch
rename to Sub-Exporter-0.987-tm088.patch
index b866baa..3d1c9fc 100644
--- a/Sub-Exporter-0.986-old-Test::More.patch
+++ b/Sub-Exporter-0.987-tm088.patch
@@ -1,6 +1,6 @@
 --- t/000-report-versions-tiny.t
 +++ t/000-report-versions-tiny.t
-@@ -1,12 +1,6 @@
+@@ -1,12 +1,8 @@
  use strict;
  use warnings;
 -use Test::More 0.88;
@@ -8,28 +8,23 @@
 -# expectations by adding extra tests, without using no_plan.  It also helps
 -# avoid any other test module that feels introducing random tests, or even
 -# test plans, is a nice idea.
--our $success = 0;
--END { $success && done_testing; }
 +use Test::More 0.47 tests => 1;
+ our $success = 0;
+-END { $success && done_testing; }
++END { $success; }
  
  # List our own version used to generate this
- my $v = "\nGenerated by Dist::Zilla::Plugin::ReportVersions::Tiny v1.08\n";
-@@ -56,13 +50,12 @@
- eval { $v .= pmver('File::Temp','any version') };
+ my $v = "\nGenerated by Dist::Zilla::Plugin::ReportVersions::Tiny v1.10\n";
+@@ -57,7 +53,7 @@ eval { $v .= pmver('IO::Handle','any ver
+ eval { $v .= pmver('IPC::Open3','any version') };
  eval { $v .= pmver('Params::Util','0.14') };
  eval { $v .= pmver('Sub::Install','0.92') };
 -eval { $v .= pmver('Test::More','0.96') };
 +eval { $v .= pmver('Test::More','0.47') };
- eval { $v .= pmver('Test::Pod','1.41') };
  eval { $v .= pmver('base','any version') };
+ eval { $v .= pmver('lib','any version') };
  eval { $v .= pmver('overload','any version') };
- eval { $v .= pmver('strict','any version') };
- eval { $v .= pmver('subs','any version') };
--eval { $v .= pmver('version','0.9901') };
- eval { $v .= pmver('warnings','any version') };
- 
- 
-@@ -77,7 +70,6 @@
+@@ -77,7 +73,6 @@ EOT
  
  diag($v);
  ok(1, "we really didn't test anything, just reporting data");
@@ -45,9 +40,9 @@
  
 -note 'Checking Changes';
  my $changes_file = 'Changes';
- my $newver = '0.986';
+ my $newver = '0.987';
  my $trial_token = '-TRIAL';
-@@ -14,8 +13,6 @@
+@@ -14,8 +13,6 @@ SKIP: {
      ok(_get_changes($newver), "$changes_file has content for $newver");
  }
  
diff --git a/Sub-Exporter-0.987-tm094.patch b/Sub-Exporter-0.987-tm094.patch
new file mode 100644
index 0000000..eb8aa9b
--- /dev/null
+++ b/Sub-Exporter-0.987-tm094.patch
@@ -0,0 +1,16 @@
+--- t/00-compile.t
++++ t/00-compile.t
+@@ -3,7 +3,7 @@ use warnings;
+ 
+ # this test was generated with Dist::Zilla::Plugin::Test::Compile 2.037
+ 
+-use Test::More 0.94 tests => 2;
++use Test::More 0.47 tests => 2;
+ 
+ 
+ 
+@@ -46,4 +46,3 @@ for my $lib (@module_files)
+ 
+ # no warning checks;
+ 
+-BAIL_OUT("Compilation problems") if !Test::More->builder->is_passing;
diff --git a/perl-Sub-Exporter.spec b/perl-Sub-Exporter.spec
index 8ad16b0..1106a17 100644
--- a/perl-Sub-Exporter.spec
+++ b/perl-Sub-Exporter.spec
@@ -1,15 +1,17 @@
 # We need to patch the test suite if we have an old version of Test::More
+%global quite_old_test_more %(perl -MTest::More -e 'print (($Test::More::VERSION < 0.94) ? 1 : 0);' 2>/dev/null || echo 0)
 %global old_test_more %(perl -MTest::More -e 'print (($Test::More::VERSION < 0.88) ? 1 : 0);' 2>/dev/null || echo 0)
 
 Name:		perl-Sub-Exporter
-Version:	0.986
-Release:	4%{?dist}
+Version:	0.987
+Release:	1%{?dist}
 Summary:	Sophisticated exporter for custom-built routines
 License:	GPL+ or Artistic
 Group:		Development/Libraries
 URL:		https://metacpan.org/release/Sub-Exporter
 Source0:	http://cpan.metacpan.org/authors/id/R/RJ/RJBS/Sub-Exporter-%{version}.tar.gz
-Patch1:		Sub-Exporter-0.986-old-Test::More.patch
+Patch0:		Sub-Exporter-0.987-tm094.patch
+Patch1:		Sub-Exporter-0.987-tm088.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
 BuildArch:	noarch
 # Build
@@ -23,8 +25,9 @@ BuildRequires:	perl(Sub::Install) >= 0.92
 # Test suite
 BuildRequires:	perl(base)
 BuildRequires:	perl(Exporter)
-BuildRequires:	perl(File::Find)
-BuildRequires:	perl(File::Temp)
+BuildRequires:	perl(File::Spec)
+BuildRequires:	perl(IO::Handle)
+BuildRequires:	perl(IPC::Open3)
 BuildRequires:	perl(lib)
 BuildRequires:	perl(subs)
 BuildRequires:	perl(Test::More)
@@ -50,6 +53,9 @@ Sub::Exporter::Tutorial first!
 %setup -q -n Sub-Exporter-%{version}
 
 # We need to patch the test suite if we have an old version of Test::More
+%if %{quite_old_test_more}
+%patch0
+%endif
 %if %{old_test_more}
 %patch1
 %endif
@@ -94,6 +100,10 @@ rm -rf %{buildroot}
 %{_mandir}/man3/Sub::Exporter::Util.3pm*
 
 %changelog
+* Sat Oct 19 2013 Paul Howarth <paul@xxxxxxxxxxxx> - 0.987-1
+- Update to 0.987 (update bugtracker metadata)
+- Update patches as needed
+
 * Sun Aug 04 2013 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.986-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
diff --git a/sources b/sources
index 842158c..77aa944 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-bdfa41103f82ab8611af61fceed1271e  Sub-Exporter-0.986.tar.gz
+5332d269a7ba387773fcd140b72a0ed2  Sub-Exporter-0.987.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux