public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-regex] f44: Link upstream issue and PR for missing “fowler” test data
@ 2026-06-23 12:35 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-06-23 12:35 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-regex
Branch : f44
Commit : b61c10d0c0ce058f13f04edb370133d4850c8229
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-05-13T11:23:14+01:00
Stats : +10/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/rust-regex/c/b61c10d0c0ce058f13f04edb370133d4850c8229?branch=f44
Log:
Link upstream issue and PR for missing “fowler” test data
---
diff --git a/rust-regex.spec b/rust-regex.spec
index 3cb553c..ca06823 100644
--- a/rust-regex.spec
+++ b/rust-regex.spec
@@ -307,6 +307,11 @@ use the "use_std" feature of the "%{crate}" crate.
# Fuzz tests are not included in the crate.
sed -r -i 's@^mod fuzz;@// &@' tests/lib.rs
# Neither are the contents of testdata/fowler/.
+# We believe this to be a mistake:
+# - regex 1.12.3: non-fuzzing test data accidentally excluded
+# https://github.com/rust-lang/regex/issues/1333
+# - fix glob typo in workspace.package.include setting
+# https://github.com/rust-lang/regex/pull/1335
sed -r -i 's@^([[:blank:]]*)(load!\("fowler/)@\1// \2@' tests/lib.rs
%cargo_prep
diff --git a/rust2rpm.toml b/rust2rpm.toml
index 435d7c9..f126f35 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -3,6 +3,11 @@ pre = [
"# Fuzz tests are not included in the crate.",
"sed -r -i 's@^mod fuzz;@// &@' tests/lib.rs",
"# Neither are the contents of testdata/fowler/.",
+ "# We believe this to be a mistake:",
+ "# - regex 1.12.3: non-fuzzing test data accidentally excluded",
+ "# https://github.com/rust-lang/regex/issues/1333",
+ "# - fix glob typo in workspace.package.include setting",
+ "# https://github.com/rust-lang/regex/pull/1335",
"sed -r -i 's@^([[:blank:]]*)(load!\\(\"fowler/)@\\1// \\2@' tests/lib.rs",
]
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-23 12:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-23 12:35 [rpms/rust-regex] f44: Link upstream issue and PR for missing “fowler” test data Benjamin A. Beasley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox