Fix "cpan -O" invocation
This commit is contained in:
parent
79577ac3e9
commit
4e92c106ea
31
CPAN-2.14-Emergency-fix-for-cpan-o.patch
Normal file
31
CPAN-2.14-Emergency-fix-for-cpan-o.patch
Normal file
@ -0,0 +1,31 @@
|
||||
From cbf4929aeba4b5c8fa4b6151655d5206b54e758e Mon Sep 17 00:00:00 2001
|
||||
From: Andreas Koenig <andk@cpan.org>
|
||||
Date: Fri, 8 Jul 2016 21:37:54 +0200
|
||||
Subject: [PATCH] Emergency fix for bug
|
||||
https://rt.cpan.org/Ticket/Display.html?id=115786
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Signed-off-by: Petr Písař <ppisar@redhat.com>
|
||||
---
|
||||
lib/App/Cpan.pm | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/lib/App/Cpan.pm b/lib/App/Cpan.pm
|
||||
index d770bf5..268c49d 100644
|
||||
--- a/lib/App/Cpan.pm
|
||||
+++ b/lib/App/Cpan.pm
|
||||
@@ -1336,7 +1336,8 @@ sub _show_out_of_date
|
||||
|
||||
foreach my $module ( @$modules )
|
||||
{
|
||||
- next unless $module->inst_file;
|
||||
+ next unless $module = _expand_module($module);
|
||||
+ next unless $module->inst_file;
|
||||
next if $module->uptodate;
|
||||
printf "%-40s %.4f %.4f\n",
|
||||
$module->id,
|
||||
--
|
||||
2.7.4
|
||||
|
||||
@ -12,6 +12,8 @@ Patch0: CPAN-2.14-Attemp-to-create-site-library-directories-on-first-t.p
|
||||
Patch1: CPAN-2.14-Replace-configuration-directory-string-with-a-marke.patch
|
||||
# Fix installation from a working directory, CPAN RT#115734, fixed after 2.14
|
||||
Patch2: CPAN-2.14-Emergency-fix-for-bug-https-rt.cpan.org-Ticket-Displ.patch
|
||||
# Fix "cpan -O" invocation, CPAN RT#115786, fixed after 2.14
|
||||
Patch3: CPAN-2.14-Emergency-fix-for-cpan-o.patch
|
||||
BuildArch: noarch
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: findutils
|
||||
@ -190,6 +192,7 @@ external download clients to fetch distributions from the net.
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
# Change configuration name
|
||||
find -type f -exec sed -i -e 's/XCPANCONFIGNAMEX/cpan/g' {} \;
|
||||
# Remove bundled modules
|
||||
@ -219,6 +222,7 @@ make test
|
||||
* Mon Jun 27 2016 Petr Pisar <ppisar@redhat.com> - 2.14-1
|
||||
- 2.14 bump
|
||||
- Fix installation from a working directory (CPAN RT#115734)
|
||||
- Fix "cpan -O" invocation (CPAN RT#115786)
|
||||
|
||||
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.11-366
|
||||
- Perl 5.24 re-rebuild of bootstrapped packages
|
||||
|
||||
Loading…
Reference in New Issue
Block a user