public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/cpanspec] epel10: Add cpanspec-1.65-regex.patch (fix broken regex, from 1.66 CVS).
@ 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 : 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.
^ 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: Add cpanspec-1.65-regex.patch (fix broken regex, from 1.66 CVS) Steven Pritchard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox