[perl-Software-License] Fix EL-5 support and tidy up buildreqs

Paul Howarth pghmcfc at fedoraproject.org
Mon Oct 21 11:03:29 UTC 2013


commit ee29560c72b79df4d202284e150ee3d77576aa84
Author: Paul Howarth <paul at city-fan.org>
Date:   Mon Oct 21 11:59:50 2013 +0100

    Fix EL-5 support and tidy up buildreqs
    
    - Update patch for building with old Test::More versions
    - Update core buildreqs for completeness

 ... Software-License-0.103006-old-Test::More.patch |    4 ++--
 perl-Software-License.spec                         |   11 ++++++++---
 2 files changed, 10 insertions(+), 5 deletions(-)
---
diff --git a/Software-License-0.103005-old-Test::More.patch b/Software-License-0.103006-old-Test::More.patch
similarity index 98%
rename from Software-License-0.103005-old-Test::More.patch
rename to Software-License-0.103006-old-Test::More.patch
index 4d251ce..f8e9ede 100644
--- a/Software-License-0.103005-old-Test::More.patch
+++ b/Software-License-0.103006-old-Test::More.patch
@@ -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");
diff --git a/perl-Software-License.spec b/perl-Software-License.spec
index 29f6cb3..401bb5b 100644
--- a/perl-Software-License.spec
+++ b/perl-Software-License.spec
@@ -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 at 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 at redhat.com> - 0.103006-1
 * Update to 0.103006 release (rhbz #1021385)
 



More information about the perl-devel mailing list