public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/cpanspec] epel10: Fix to work properly with 5.10.0 (BZ#437804).
@ 2026-10-21 16:04 Steven Pritchard
0 siblings, 0 replies; only message in thread
From: Steven Pritchard @ 2026-10-21 16:04 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/cpanspec
Branch : epel10
Commit : 4380ce6aa4b776524825b5185d0e4fde405c994c
Author : Steven Pritchard <steve@fedoraproject.org>
Date : 2008-03-17T19:37:17+00:00
Stats : +28/-2 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/cpanspec/c/4380ce6aa4b776524825b5185d0e4fde405c994c?branch=epel10
Log:
Fix to work properly with 5.10.0 (BZ#437804).
---
diff --git a/cpanspec-5.10.0.patch b/cpanspec-5.10.0.patch
new file mode 100644
index 0000000..08884e4
--- /dev/null
+++ b/cpanspec-5.10.0.patch
@@ -0,0 +1,20 @@
+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=();
diff --git a/cpanspec.spec b/cpanspec.spec
index d47118c..9f5c43d 100644
--- a/cpanspec.spec
+++ b/cpanspec.spec
@@ -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 @@ of the information contained in the spec file is correct.
%prep
%setup -q
+%patch0 -p0
%build
%{__perl} Build.PL installdirs=vendor
@@ -51,8 +54,11 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man1/*
%changelog
+* Mon Mar 17 2008 Steven Pritchard <steve@kspei.com> 1.74-3
+- Fix to work properly with 5.10.0 (BZ#437804).
+
* Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.74-2
-Rebuild for new perl
+- Rebuild for new perl
* Tue Dec 11 2007 Steven Pritchard <steve@kspei.com> 1.74-1
- Update to 1.74.
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-21 16:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-21 16:04 [rpms/cpanspec] epel10: Fix to work properly with 5.10.0 (BZ#437804) Steven Pritchard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox