public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Paul Howarth <paul@city-fan.org>
To: git-commits@fedoraproject.org
Subject: [rpms/perl-Data-Dump] rawhide: Update to 1.26 (rhbz#2579751)
Date: Sun, 22 Nov 2026 13:11:44 GMT [thread overview]
Message-ID: <179535310410.1.438725001293069233.rpms-perl-Data-Dump-9cf697d8ab77@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/perl-Data-Dump
Branch : rawhide
Commit : 9cf697d8ab772d56cfd128b4b116072c040edb1e
Author : Paul Howarth <paul@city-fan.org>
Date : 2026-11-22T13:10:58+00:00
Stats : +51/-6 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/perl-Data-Dump/c/9cf697d8ab772d56cfd128b4b116072c040edb1e?branch=rawhide
Log:
Update to 1.26 (rhbz#2579751)
- New upstream release 1.26
- Quote sigils in regexp so eval'ing the dump doesn't interpolate
(CVE-2026-133443)
- Recognize modern regexp modifiers
- Fix test in cygwin
- Add parens to keys %! call to avoid warning on perl 5.8
- Dump core booleans with !!1 and !!0 notation
- Don't use vars, use our
- Add patch to fix test to work with Perl versions older than 5.34 (GH#4)
---
diff --git a/.gitignore b/.gitignore
index 3d98254..588d342 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1,7 @@
-Data-Dump-1.15.tar.gz
+/Data-Dump-1.15.tar.gz
/Data-Dump-1.19.tar.gz
/Data-Dump-1.21.tar.gz
/Data-Dump-1.22.tar.gz
/Data-Dump-1.23.tar.gz
/Data-Dump-1.25.tar.gz
+/Data-Dump-1.26.tar.gz
diff --git a/Data-Dump-1.26-old-perl.patch b/Data-Dump-1.26-old-perl.patch
new file mode 100644
index 0000000..c6d07de
--- /dev/null
+++ b/Data-Dump-1.26-old-perl.patch
@@ -0,0 +1,25 @@
+Fix test to work with Perl versions older than 5.34
+
+Perl 5.34 onwards allow spaces adjacent to curly braces in regexps
+See https://perldoc.perl.org/perl5340delta#Blanks-freely-allowed-within-but-adjacent-to-curly-braces
+
+Otherwise, this would happen:
+...
+Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/@{ <-- HERE 1,2 }/ at t/regexp-eval.t line 99.
+# Looks like your test exited with 255 just after 21.
+t/regexp-eval.t ....
+Dubious, test returned 255 (wstat 65280, 0xff00)
+
+--- t/regexp-eval.t
++++ t/regexp-eval.t
+@@ -17,8 +17,8 @@
+ '${[1]}',
+ '@{2}',
+ '${2}',
+- '@{ 1,2 }',
+- '${ 1,2 }',
++ '@{1,2}',
++ '${1,2}',
+ '@[1]',
+ '$[1]',
+ '@{[[1]]}',
diff --git a/perl-Data-Dump.rpmlintrc b/perl-Data-Dump.rpmlintrc
new file mode 100644
index 0000000..72e0556
--- /dev/null
+++ b/perl-Data-Dump.rpmlintrc
@@ -0,0 +1,2 @@
+# Perl term
+addFilter("spelling-error \('evaled',")
diff --git a/perl-Data-Dump.spec b/perl-Data-Dump.spec
index abe7837..f086655 100644
--- a/perl-Data-Dump.spec
+++ b/perl-Data-Dump.spec
@@ -1,10 +1,11 @@
Name: perl-Data-Dump
-Version: 1.25
-Release: 15%{?dist}
+Version: 1.26
+Release: 1%{?dist}
Summary: Pretty printing of data structures
License: GPL-1.0-or-later OR Artistic-1.0-Perl
URL: https://metacpan.org/release/Data-Dump
Source0: https://cpan.metacpan.org/modules/by-module/Data/Data-Dump-%{version}.tar.gz
+Patch0: Data-Dump-1.26-old-perl.patch
BuildArch: noarch
# Build
BuildRequires: coreutils
@@ -15,19 +16,20 @@ BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
# Runtime
BuildRequires: perl(base)
BuildRequires: perl(Carp)
+BuildRequires: perl(constant)
BuildRequires: perl(Exporter)
+BuildRequires: perl(if)
BuildRequires: perl(MIME::Base64)
BuildRequires: perl(overload)
BuildRequires: perl(strict)
BuildRequires: perl(subs)
BuildRequires: perl(Term::ANSIColor)
-BuildRequires: perl(vars)
BuildRequires: perl(warnings)
# Tests only
-BuildRequires: perl(IO::Socket::INET)
BuildRequires: perl(Symbol)
BuildRequires: perl(Test)
BuildRequires: perl(Test::More)
+BuildRequires: perl(vars)
# Really optional
Suggests: perl(MIME::Base64)
@@ -40,6 +42,10 @@ arguments. The string is formatted for easy reading.
%prep
%setup -q -n Data-Dump-%{version}
+# Fix test to work with Perl versions older than 5.34
+# https://github.com/garu/data-dump/pull/4
+%patch -P0
+
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%{make_build}
@@ -59,6 +65,17 @@ make test
%{_mandir}/man3/Data::Dump::Trace.3*
%changelog
+* Sat Nov 21 2026 Paul Howarth <paul@city-fan.org> - 1.26-1
+- Update to 1.26 (rhbz#2579751)
+ - Quote sigils in regexp so eval'ing the dump doesn't interpolate
+ (CVE-2026-133443)
+ - Recognize modern regexp modifiers
+ - Fix test in cygwin
+ - Add parens to keys %%! call to avoid warning on perl 5.8
+ - Dump core booleans with !!1 and !!0 notation
+ - Don't use vars, use our
+- Add patch to fix test to work with Perl versions older than 5.34 (GH#4)
+
* Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.25-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
diff --git a/sources b/sources
index 7858cb9..9a175c6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (Data-Dump-1.25.tar.gz) = fc859b0f02a44a959da3e162606c8fbaefececf8dbd0aa357d68a5a3143b818ae423dd7862063f2f77161ea000fcaa6841c96a2c4a268b889da9588292b157fe
+SHA512 (Data-Dump-1.26.tar.gz) = af74d10f769f7e7618f39d1f5119d66174ee245f5bde282cf21599be15467e0d7f68dc6abae9e3416ea962da3f76bf2c468f847a59d3aacdcd46df24f3fbc9c8
reply other threads:[~2026-11-22 13:11 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=179535310410.1.438725001293069233.rpms-perl-Data-Dump-9cf697d8ab77@fedoraproject.org \
--to=paul@city-fan.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