[perl] Sub-package perl-Class-ISA

Petr Pisar ppisar at fedoraproject.org
Tue Nov 9 12:23:30 UTC 2010


commit 4ba9ea5a56f4f0385bce0cc1f5b04dbd034560cd
Author: Petr Písař <ppisar at redhat.com>
Date:   Tue Nov 9 11:33:12 2010 +0100

    Sub-package perl-Class-ISA
    
    Needed to match dual-lived package name.

 perl.spec |   33 +++++++++++++++++++++++++++++++--
 1 files changed, 31 insertions(+), 2 deletions(-)
---
diff --git a/perl.spec b/perl.spec
index c4f4051..ca95c31 100644
--- a/perl.spec
+++ b/perl.spec
@@ -19,7 +19,7 @@
 Name:           perl
 Version:        %{perl_version}
 # release number must be even higher, becase dual-lived modules will be broken otherwise
-Release:        142%{?dist}
+Release:        143%{?dist}
 Epoch:          %{perl_epoch}
 Summary:        Practical Extraction and Report Language
 Group:          Development/Languages
@@ -233,6 +233,22 @@ IO::Zlib module installed, Archive::Tar will also support compressed or
 gzipped tar files.
 
 
+%package Class-ISA
+Summary:        Report the search path for a class's ISA tree
+Group:          Development/Libraries
+License:        GPL+ or Artistic
+Epoch:          0
+Version:        0.36
+Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
+
+%description Class-ISA
+Suppose you have a class (like Food::Fish::Fishstick) that is derived, via
+its @ISA, from one or more superclasses (as Food::Fish::Fishstick is from
+Food::Fish, Life::Fungus, and Chemicals), and some of those superclasses
+may themselves each be derived, via its @ISA, from one or more superclasses
+(as above).
+
+
 %package Compress-Raw-Zlib
 Summary:        Low-Level Interface to the zlib compression library
 Group:          Development/Libraries
@@ -843,7 +859,8 @@ Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
 Requires:       perl-libs = %{perl_epoch}:%{perl_version}-%{release}
 Requires:       perl-devel = %{perl_epoch}:%{perl_version}-%{release}
 
-Requires:       perl-Archive-Extract, perl-Archive-Tar, perl-Compress-Raw-Zlib, perl-CPAN,
+Requires:       perl-Archive-Extract, perl-Archive-Tar, perl-Class-ISA,
+Requires:       perl-Compress-Raw-Zlib, perl-CPAN,
 Requires:       perl-CPANPLUS, perl-Digest-SHA, perl-ExtUtils-CBuilder,
 Requires:       perl-ExtUtils-Embed, perl-ExtUtils-MakeMaker, perl-ExtUtils-ParseXS,
 Requires:       perl-File-Fetch, perl-IO-Compress, perl-IO-Zlib,
@@ -1192,6 +1209,10 @@ rm -rf $RPM_BUILD_ROOT
 %exclude %{_mandir}/man1/ptardiff.1*
 %exclude %{_mandir}/man3/Archive::Tar*
 
+# Class-ISA
+%exclude %{privlib}/Class/ISA.pm
+%exclude %{_mandir}/man3/Class::ISA.3*
+
 # CPAN
 %exclude %{_bindir}/cpan
 %exclude %{privlib}/CPAN/
@@ -1501,6 +1522,11 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man1/ptardiff.1*
 %{_mandir}/man3/Archive::Tar* 
 
+%files Class-ISA
+%defattr(-,root,root,-)
+%{privlib}/Class/ISA.pm
+%{_mandir}/man3/Class::ISA.3*
+
 %files Compress-Raw-Zlib
 %defattr(-,root,root,-)
 %dir %{archlib}/Compress
@@ -1815,6 +1841,9 @@ rm -rf $RPM_BUILD_ROOT
 
 # Old changelog entries are preserved in CVS.
 %changelog
+* Tue Nov 09 2010 Petr Pisar <ppisar at redhat.com> - 4:5.12.2-143
+- Sub-package perl-Class-ISA (bug #651317)
+
 * Mon Nov 08 2010 Petr Pisar <ppisar at redhat.com> - 4:5.12.2-142
 - Make perl(ExtUtils::ParseXS) version 4 digits long (bug #650882)
 


More information about the scm-commits mailing list