Fix EL-5 support and tidy up buildreqs

- Update patch for building with old Test::More versions
- Update core buildreqs for completeness
This commit is contained in:
Paul Howarth 2013-10-21 11:59:50 +01:00
parent 2509d75652
commit ee29560c72
2 changed files with 10 additions and 5 deletions

View File

@ -14,7 +14,7 @@
+END { $success; }
# List our own version used to generate this
my $v = "\nGenerated by Dist::Zilla::Plugin::ReportVersions::Tiny v1.08\n";
my $v = "\nGenerated by Dist::Zilla::Plugin::ReportVersions::Tiny v1.10\n";
--- t/custom.t
+++ t/custom.t
@@ -2,7 +2,7 @@
@ -70,7 +70,7 @@
-note 'Checking Changes';
+diag 'Checking Changes';
my $changes_file = 'Changes';
my $newver = '0.103005';
my $newver = '0.103006';
my $trial_token = '-TRIAL';
@@ -14,8 +14,6 @@
ok(_get_changes($newver), "$changes_file has content for $newver");

View File

@ -3,7 +3,7 @@
Name: perl-Software-License
Version: 0.103006
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Package that provides templated software licenses
License: GPL+ or Artistic
Group: Development/Libraries
@ -11,14 +11,15 @@ URL: http://search.cpan.org/dist/Software-License/
# For unknown reasons this module URL is currently missing
#Source0: http://www.cpan.org/modules/by-module/Software/Software-License-%{version}.tar.gz
Source0: http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Software-License-%{version}.tar.gz
Patch1: Software-License-0.103005-old-Test::More.patch
Patch1: Software-License-0.103006-old-Test::More.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
BuildArch: noarch
BuildRequires: perl(base)
BuildRequires: perl(Carp)
BuildRequires: perl(Data::Section)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(File::Temp)
BuildRequires: perl(File::Spec)
BuildRequires: perl(IO::Dir)
BuildRequires: perl(Module::Load)
BuildRequires: perl(Sub::Install)
BuildRequires: perl(Text::Template)
@ -62,6 +63,10 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man3/Software::LicenseUtils.3pm*
%changelog
* Mon Oct 21 2013 Paul Howarth <paul@city-fan.org> - 0.103006-2
- Update patch for building with old Test::More versions
- Update core buildreqs for completeness
* Mon Oct 21 2013 Daniel P. Berrange <berrange@redhat.com> - 0.103006-1
* Update to 0.103006 release (rhbz #1021385)