[perl-CPANPLUS] Keep bundled inc::Module::Install modules at boot-strap

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 6f0c8a71dc50849fa63df158f4844d8bb474a5cb
Author: Petr Písař <ppisar@xxxxxxxxxx>
Date:   Thu Apr 4 16:13:05 2013 +0200

    Keep bundled inc::Module::Install modules at boot-strap

 perl-CPANPLUS.spec |   18 +++++++++++++++++-
 1 files changed, 17 insertions(+), 1 deletions(-)
---
diff --git a/perl-CPANPLUS.spec b/perl-CPANPLUS.spec
index 9297a5d..d9cc0a5 100644
--- a/perl-CPANPLUS.spec
+++ b/perl-CPANPLUS.spec
@@ -2,7 +2,7 @@
 Name:           perl-CPANPLUS
 # Keep 2-digit major varion to compete with perl.spec for history
 Version:        %(echo '%{cpan_version}' | sed 's/\(\...\)/\1./')
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Ameliorated interface to the Comprehensive Perl Archive Network
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -15,7 +15,15 @@ BuildRequires:  perl(File::Copy)
 BuildRequires:  perl(File::Spec)
 BuildRequires:  perl(FindBin)
 BuildRequires:  perl(Getopt::Long)
+%if %{defined perl_bootstrap}
+BuildRequires:  perl(ExtUtils::MakeMaker)
+# ExtUtils::Manifest not used
+BuildRequires:  perl(ExtUtils::MM_Unix)
+# Module::Build not used
+# YAML not used
+%else
 BuildRequires:  perl(inc::Module::Install)
+%endif
 BuildRequires:  perl(lib)
 BuildRequires:  perl(Locale::Maketext::Simple)
 BuildRequires:  perl(Module::Loaded)
@@ -75,8 +83,13 @@ interactive shells, command line programs, etc., that use this API.
 %prep
 %setup -q -n CPANPLUS-%{cpan_version}
 # Remove bundled modules
+%if !%{defined perl_bootstrap}
 rm -rf inc
 sed -i -e '/^inc\//d' MANIFEST
+%else
+rm -rf inc/bundle
+sed -i -e '/^inc\/bundle\//d' MANIFEST
+%endif
 # Fix shebangs
 sed -i -e '1i#!%{__perl}' bin/cpanp-run-perl
 
@@ -100,5 +113,8 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Thu Apr 04 2013 Petr Pisar <ppisar@xxxxxxxxxx> - 0.91.34-2
+- Keep bundled inc::Module::Install modules at boot-strap (bug #947489)
+
 * Thu Jan 24 2013 Petr Pisar <ppisar@xxxxxxxxxx> 0.91.34-1
 - Specfile autogenerated by cpanspec 1.78.
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux