public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Steven Pritchard <steve@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/cpanspec] epel10: Fix to work properly with 5.10.0 (BZ#437804).
Date: Wed, 21 Oct 2026 16:04:10 GMT	[thread overview]
Message-ID: <179259865075.1.16596767537336040999.rpms-cpanspec-4380ce6aa4b7@fedoraproject.org> (raw)

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.

                 reply	other threads:[~2026-10-21 16:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179259865075.1.16596767537336040999.rpms-cpanspec-4380ce6aa4b7@fedoraproject.org \
    --to=steve@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox