public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-regex] epel9: Link upstream issue and PR for missing “fowler” test data
@ 2026-06-23 13:36 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-06-23 13:36 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-regex
Branch : epel9
Commit : 5b88693a860ac08e1a954da33cfbafce31e98380
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-06-23T15:34:42+02:00
Stats  : +10/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-regex/c/5b88693a860ac08e1a954da33cfbafce31e98380?branch=epel9

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 13:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-23 13:36 [rpms/rust-regex] epel9: 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