[perl-Module-Build] Require Software::License to recognize more license identifiers

Petr Pisar ppisar at fedoraproject.org
Wed Oct 15 13:08:00 UTC 2014


commit 57bc2492c27b9e38305963a3980f3a08183ca2b4
Author: Petr Písař <ppisar at redhat.com>
Date:   Wed Oct 15 14:45:07 2014 +0200

    Require Software::License to recognize more license identifiers

 perl-Module-Build.spec |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/perl-Module-Build.spec b/perl-Module-Build.spec
index 83eff26..4d73085 100644
--- a/perl-Module-Build.spec
+++ b/perl-Module-Build.spec
@@ -5,7 +5,7 @@
 Name:           perl-Module-Build
 Epoch:          2
 Version:        %{cpan_version_major}%{?cpan_version_minor:.%cpan_version_minor}
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Build and install Perl modules
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -82,6 +82,11 @@ Requires:       perl(Module::Metadata) >= 1.000002
 # Keep PAR support optional (PAR::Dist)
 Requires:       perl(Perl::OSType) >= 1
 Requires:       perl(Test::Harness)
+%if !%{defined perl_bootstrap}
+# Optional run-time needed for Software::License license identifier,
+# bug #1152319
+Requires:       perl(Software::License)
+%endif
 # Optional run-time needed for generating documentation from POD:
 Requires:       perl(Pod::Html)
 Requires:       perl(Pod::Man) >= 2.17
@@ -133,6 +138,9 @@ LANG=C TEST_SIGNATURE=1 MB_TEST_EXPERIMENTAL=1 ./Build test
 %{_mandir}/man3/*
 
 %changelog
+* Wed Oct 15 2014 Petr Pisar <ppisar at redhat.com> - 2:0.42.10-2
+- Require Software::License to recognize more license identifiers (bug #1152319)
+
 * Wed Sep 10 2014 Jitka Plesnikova <jplesnik at redhat.com> - 2:0.42.10-1
 - 0.4210 bump
 



More information about the perl-devel mailing list