Fixing the License tag

Stepan Kasal skasal at redhat.com
Sat Aug 18 07:15:18 UTC 2007


Hello,

On Sat, Aug 18, 2007 at 09:06:45AM +0200, Stepan Kasal wrote:
> I committed this to devel (patch attached) [...]

oh no, the Group: tag has to be releated for each sub-package.
Attached please find a fixed patch.

Sorry,
	Stepan Kasal
-------------- next part --------------
Index: perl.spec
===================================================================
RCS file: /cvs/extras/rpms/perl/devel/perl.spec,v
retrieving revision 1.124
retrieving revision 1.128
diff -u -r1.124 -r1.128
--- perl.spec	17 Aug 2007 14:31:25 -0000	1.124
+++ perl.spec	18 Aug 2007 07:09:29 -0000	1.128
@@ -20,11 +20,15 @@
 
 Name:           perl
 Version:        %{perl_version}
-Release:        23%{?dist}
+Release:        24%{?dist}
 Epoch:          %{perl_epoch}
 Summary:        The Perl programming language
 Group:          Development/Languages
-License:        Artistic or GPL
+# Modules Tie::File and Getopt::Long are licenced under "GPLv2+ or Artistic,"
+# we have to reflect that in the sub-package containing them.
+# FIXME: Digest::MD5 has a must-advertise-RSA license with an exception,
+# the tag does not reflect that (yet).
+License:        (GPL+ or Artistic) and (GPLv2+ or Artistic)
 Url:            http://www.perl.org/
 Source0:        http://www.cpan.org/authors/id/N/NW/NWCLARK/%{name}-%{perl_version}.tar.bz2
 Source11:       filter-depends.sh
@@ -108,7 +112,8 @@
 Patch37:        perl-5.8.8-useCFLAGSwithCC.patch
 # Upstream bug 39903
 Patch38:        perl-5.8.8-bz199736.patch
-# Disable test_hosts because hostname tests fail in mock buildroots
+# Skip hostname tests, since hostname lookup isn't available in Fedora
+# buildroots by design.
 Patch39:        perl-5.8.8-disable_test_hosts.patch
 # XXX: Fixme - Finish patch.
 #Patch39:        perl-5.8.8-bz204679.patch
@@ -205,6 +210,7 @@
 %package libs
 Summary:        The libraries for the perl runtime
 Group:          Development/Languages
+License:        (GPL+ or Artistic)
 Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
 
 %description libs
@@ -214,6 +220,7 @@
 %package devel
 Summary:        Header files for use in perl development
 Group:          Development/Languages
+License:        (GPL+ or Artistic)
 Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
 
 %description devel
@@ -224,6 +231,7 @@
 %package suidperl
 Summary:        Suidperl, for use with setuid perl scripts
 Group:          Development/Languages
+License:        (GPL+ or Artistic)
 Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
 
 %description suidperl
@@ -233,6 +241,7 @@
 %package CPAN
 Summary:        Query, download and build perl modules from CPAN sites
 Group:          Development/Languages
+License:        (GPL+ or Artistic)
 Epoch:          0
 Version:        1.76_02
 Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
@@ -244,6 +253,7 @@
 %package ExtUtils-Embed
 Summary:        Utilities for embedding Perl in C/C++ applications
 Group:          Development/Languages
+License:        (GPL+ or Artistic)
 Epoch:          0
 Version:        1.26
 Requires:       perl-devel
@@ -255,6 +265,7 @@
 %package ExtUtils-MakeMaker
 Summary:        Create a module Makefile
 Group:          Development/Languages
+License:        (GPL+ or Artistic)
 Epoch:          0
 Version:        6.30
 Requires:       perl-devel
@@ -267,6 +278,7 @@
 %package Test-Harness
 Summary:        Run Perl standard test scripts with statistics
 Group:          Development/Languages
+License:        (GPL+ or Artistic)
 Epoch:          0
 Version:        2.56
 Requires:       perl-devel
@@ -278,6 +290,7 @@
 %package Test-Simple
 Summary:        Basic utilities for writing tests
 Group:          Development/Languages
+License:        (GPL+ or Artistic)
 Epoch:          0
 Version:        0.62
 Requires:       perl-devel
@@ -289,6 +302,8 @@
 %package core
 Summary:        Base perl metapackage
 Group:          Development/Languages
+# FIXME: Hey, I'm not sure this rpm contains any copyrightable material!
+License:        (GPL+ or Artistic)
 Epoch:          0
 Version:        %{perl_version}
 Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
@@ -747,6 +762,9 @@
 # Nothing. Nada. Zilch. Zarro. Uh uh. Nope. Sorry.
 
 %changelog
+* Sat Aug 18 2007 Stepan Kasal <skasal at redhat.com> - 4:5.8.8-24
+- Fix the License: tags.
+
 * Fri Aug 17 2007 Stepan Kasal <skasal at redhat.com> - 4:5.8.8-23
 - perl rpm requires the corresponding version of perl-libs rpm
 - Resolves: rhbz#240540


More information about the perl-devel mailing list