rpms/cpanspec/devel cpanspec-5.10.0.patch, NONE, 1.1 cpanspec.spec, 1.20, 1.21

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

 



Author: steve

Update of /cvs/pkgs/rpms/cpanspec/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13842

Modified Files:
	cpanspec.spec 
Added Files:
	cpanspec-5.10.0.patch 
Log Message:
Fix to work properly with 5.10.0 (BZ#437804).

cpanspec-5.10.0.patch:

--- NEW FILE cpanspec-5.10.0.patch ---
Index: cpanspec
===================================================================
RCS file: /cvsroot/cpanspec/cpanspec/cpanspec,v
retrieving revision 1.57
diff -u -r1.57 cpanspec
--- cpanspec	15 Oct 2007 18:04:11 -0000	1.57
+++ cpanspec	17 Mar 2008 19:30:39 -0000
@@ -559,8 +559,10 @@
         . "  Please add or use --packager option.\n";
 }
 
-die "Module::CoreList does not support perl version $]!\n"
-    if (!exists($Module::CoreList::version{$]}));
+my $perl_version=$]+0;
+
+die "Module::CoreList does not support perl version $perl_version!\n"
+    if (!exists($Module::CoreList::version{$perl_version}));
 
 my @args=@ARGV;
 my @processed=();


Index: cpanspec.spec
===================================================================
RCS file: /cvs/pkgs/rpms/cpanspec/devel/cpanspec.spec,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- cpanspec.spec	7 Mar 2008 01:52:10 -0000	1.20
+++ cpanspec.spec	17 Mar 2008 19:37:17 -0000	1.21
@@ -1,11 +1,13 @@
 Name:           cpanspec
 Version:        1.74
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        RPM spec file generation utility
 License:        GPL+ or Artistic
 Group:          Development/Tools
 URL:            http://cpanspec.sourceforge.net/
 Source0:        http://dl.sourceforge.net/cpanspec/cpanspec-%{version}.tar.gz
+# https://bugzilla.redhat.com/show_bug.cgi?id=437804
+Patch0:         cpanspec-5.10.0.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 BuildRequires:  perl(Module::Build)
@@ -22,6 +24,7 @@
 
 %prep
 %setup -q
+%patch0 -p0
 
 %build
 %{__perl} Build.PL installdirs=vendor
@@ -51,8 +54,11 @@
 %{_mandir}/man1/*
 
 %changelog
+* Mon Mar 17 2008 Steven Pritchard <steve@xxxxxxxxx> 1.74-3
+- Fix to work properly with 5.10.0 (BZ#437804).
+
 * Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@xxxxxxxxxx> - 1.74-2
-Rebuild for new perl
+- Rebuild for new perl
 
 * Tue Dec 11 2007 Steven Pritchard <steve@xxxxxxxxx> 1.74-1
 - Update to 1.74.

--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
Fedora-perl-devel-list mailing list
Fedora-perl-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list

[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