[perl/f14/master] Sub-package perl-Class-ISA

Petr Pisar ppisar at fedoraproject.org
Tue Nov 9 12:52:08 UTC 2010


commit 3d39996812b53a1f09b3f495f537885110341e0b
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 |   34 ++++++++++++++++++++++++++++++++--
 1 files changed, 32 insertions(+), 2 deletions(-)
---
diff --git a/perl.spec b/perl.spec
index b059098..a170c8c 100644
--- a/perl.spec
+++ b/perl.spec
@@ -12,7 +12,7 @@
 Name:           perl
 Version:        %{perl_version}
 # release number must be even higher, becase dual-lived modules will be broken otherwise
-Release:        138%{?dist}
+Release:        139%{?dist}
 Epoch:          %{perl_epoch}
 Summary:        Practical Extraction and Report Language
 Group:          Development/Languages
@@ -246,6 +246,23 @@ manipulation.  If you have the 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}
+BuildArch:      noarch
+
+%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
@@ -846,7 +863,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-Base, perl-IO-Zlib,
@@ -1172,6 +1190,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/
@@ -1472,6 +1494,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
@@ -1779,6 +1806,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-139
+- Sub-package perl-Class-ISA (bug #651317)
+
 * Mon Nov 08 2010 Marcela Mašláňová <mmaslano at redhat.com> - 4:5.12.2-138
 - 643447 fix redefinition of constant C in h2ph (visible in git send mail,
   XML::Twig test suite)


More information about the scm-commits mailing list