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: Add cpanspec-1.65-regex.patch (fix broken regex, from 1.66 CVS).
Date: Wed, 21 Oct 2026 16:04:02 GMT	[thread overview]
Message-ID: <179259864296.1.10915889208151021919.rpms-cpanspec-4332c791645c@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/cpanspec
Branch : epel10
Commit : 4332c791645c32ce11a4385a6c71f4f7391c67a1
Author : Steven Pritchard <steve@fedoraproject.org>
Date   : 2006-05-04T16:16:35+00:00
Stats  : +33/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/cpanspec/c/4332c791645c32ce11a4385a6c71f4f7391c67a1?branch=epel10

Log:
Add cpanspec-1.65-regex.patch (fix broken regex, from 1.66 CVS).

---
diff --git a/cpanspec-1.65-regex.patch b/cpanspec-1.65-regex.patch
new file mode 100644
index 0000000..ef93a19
--- /dev/null
+++ b/cpanspec-1.65-regex.patch
@@ -0,0 +1,27 @@
+? Build
+? META.yml
+? _build
+? cpanspec-1.59.tar.gz
+? cpanspec-1.60.tar.gz
+? cpanspec-1.61.tar.gz
+? cpanspec-1.62.tar.gz
+? cpanspec-1.63.tar.gz
+? cpanspec-1.64.tar.gz
+? cpanspec-1.65.tar.gz
+? tmp
+Index: cpanspec
+===================================================================
+RCS file: /cvsroot/cpanspec/cpanspec/cpanspec,v
+retrieving revision 1.22
+diff -u -r1.22 cpanspec
+--- cpanspec	26 Apr 2006 21:08:45 -0000	1.22
++++ cpanspec	4 May 2006 16:12:55 -0000
+@@ -393,7 +393,7 @@
+                 if ($rendered=~/NAME\s*$args{module}\s[-\s]*(\S[^\n]*)/s) {
+                     if ($1 ne "SYNOPSIS") {
+                         $summary=$1;
+-                        $summary=~s/[.\s]+//;
++                        $summary=~s/[.\s]+$//;
+                         $summary=~s/^A\s+//i;
+                         $summary=ucfirst($summary);
+                     }

diff --git a/cpanspec.spec b/cpanspec.spec
index 1a9f0e4..02645b5 100644
--- a/cpanspec.spec
+++ b/cpanspec.spec
@@ -1,11 +1,12 @@
 Name:           cpanspec
 Version:        1.65
-Release:        1%{?dist}
+Release:        2%{?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
+Patch0:         cpanspec-1.65-regex.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 BuildRequires:  perl(Module::Build)
@@ -22,6 +23,7 @@ is correct.
 
 %prep
 %setup -q
+%patch0 -p0
 
 %build
 perl Build.PL installdirs=vendor
@@ -51,6 +53,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man1/*
 
 %changelog
+* Thu May 04 2006 Steven Pritchard <steve@kspei.com> 1.65-2
+- Add cpanspec-1.65-regex.patch (fix broken regex, from 1.66 CVS).
+
 * Wed Apr 26 2006 Steven Pritchard <steve@kspei.com> 1.65-1
 - Update to 1.65.
 - cpanget requires wget.

                 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=179259864296.1.10915889208151021919.rpms-cpanspec-4332c791645c@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