Update to 1.106
- New upstream release 1.106 - Update github links - Typo fix - Update patch for building with Test::More < 0.88
This commit is contained in:
parent
a446ff1b70
commit
4dde8bf5f2
@ -1,6 +1,6 @@
|
||||
--- t/000-report-versions-tiny.t
|
||||
+++ t/000-report-versions-tiny.t
|
||||
@@ -1,12 +1,7 @@
|
||||
@@ -1,12 +1,6 @@
|
||||
use strict;
|
||||
use warnings;
|
||||
-use Test::More 0.88;
|
||||
@ -8,21 +8,29 @@
|
||||
-# 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.
|
||||
+use Test::More tests => 1;
|
||||
our $success = 0;
|
||||
-our $success = 0;
|
||||
-END { $success && done_testing; }
|
||||
+use Test::More tests => 1;
|
||||
|
||||
# List our own version used to generate this
|
||||
my $v = "\nGenerated by Dist::Zilla::Plugin::ReportVersions::Tiny v1.08\n";
|
||||
@@ -54,7 +49,7 @@ eval { $v .= pmver('File::Find','any ver
|
||||
eval { $v .= pmver('File::Temp','any version') };
|
||||
my $v = "\nGenerated by Dist::Zilla::Plugin::ReportVersions::Tiny v1.10\n";
|
||||
@@ -52,7 +46,7 @@ eval { $v .= pmver('Carp','any version')
|
||||
eval { $v .= pmver('ExtUtils::MakeMaker','6.30') };
|
||||
eval { $v .= pmver('Scalar::Util','any version') };
|
||||
eval { $v .= pmver('Symbol','any version') };
|
||||
-eval { $v .= pmver('Test::More','0.96') };
|
||||
+eval { $v .= pmver('Test::More','0.47') };
|
||||
eval { $v .= pmver('Test::Pod','1.41') };
|
||||
eval { $v .= pmver('strict','any version') };
|
||||
eval { $v .= pmver('version','0.9901') };
|
||||
eval { $v .= pmver('warnings','any version') };
|
||||
|
||||
@@ -68,7 +62,6 @@ EOT
|
||||
|
||||
diag($v);
|
||||
ok(1, "we really didn't test anything, just reporting data");
|
||||
-$success = 1;
|
||||
|
||||
# Work around another nasty module on CPAN. :/
|
||||
no warnings 'once';
|
||||
--- xt/release/changes_has_content.t
|
||||
+++ xt/release/changes_has_content.t
|
||||
@@ -2,7 +2,6 @@
|
||||
@ -31,7 +39,7 @@
|
||||
|
||||
-note 'Checking Changes';
|
||||
my $changes_file = 'Changes';
|
||||
my $newver = '1.105';
|
||||
my $newver = '1.106';
|
||||
my $trial_token = '-TRIAL';
|
||||
@@ -14,8 +13,6 @@ SKIP: {
|
||||
ok(_get_changes($newver), "$changes_file has content for $newver");
|
||||
@ -2,14 +2,14 @@
|
||||
%global old_test_more %(perl -MTest::More -e 'print (($Test::More::VERSION < 0.88) ? 1 : 0);' 2>/dev/null || echo 0)
|
||||
|
||||
Name: perl-Package-Generator
|
||||
Version: 1.105
|
||||
Release: 3%{?dist}
|
||||
Version: 1.106
|
||||
Release: 1%{?dist}
|
||||
Summary: Generate new packages quickly and easily
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/Package-Generator/
|
||||
Source0: http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Package-Generator-%{version}.tar.gz
|
||||
Patch1: Package-Generator-1.105-old-Test::More.patch
|
||||
Patch1: Package-Generator-1.106-old-Test::More.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
|
||||
BuildArch: noarch
|
||||
# Module Build
|
||||
@ -18,8 +18,6 @@ BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(Scalar::Util)
|
||||
# Test Suite
|
||||
BuildRequires: perl(File::Find)
|
||||
BuildRequires: perl(File::Temp)
|
||||
BuildRequires: perl(Params::Util) >= 0.11
|
||||
BuildRequires: perl(Test::More) >= 0.47
|
||||
# Extra Tests
|
||||
@ -63,6 +61,12 @@ rm -rf %{buildroot}
|
||||
%{_mandir}/man3/Package::Reaper.3pm*
|
||||
|
||||
%changelog
|
||||
* Sun Dec 29 2013 Paul Howarth <paul@city-fan.org> - 1.106-1
|
||||
- Update to 1.106
|
||||
- Update github links
|
||||
- Typo fix
|
||||
- Update patch for building with Test::More < 0.88
|
||||
|
||||
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.105-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user