public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-utf8_iter] rawhide: Use long options for grep
@ 2026-10-31 10:57 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-10-31 10:57 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/rust-utf8_iter
            Branch : rawhide
            Commit : 7f0db152cbae614ec4f1b3e68dd916bd332e167d
            Author : Benjamin A. Beasley <code@musicinmybrain.net>
            Date   : 2026-10-31T10:56:28+00:00
            Stats  : +2/-2 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/rust-utf8_iter/c/7f0db152cbae614ec4f1b3e68dd916bd332e167d?branch=rawhide

            Log:
            Use long options for grep

[skip changelog]

---
diff --git a/rust-utf8_iter.spec b/rust-utf8_iter.spec
index 154bd5b..eff3a9d 100644
--- a/rust-utf8_iter.spec
+++ b/rust-utf8_iter.spec
@@ -63,7 +63,7 @@ use the "default" feature of the "%{crate}" crate.
 
 %prep
 %autosetup -n %{crate}-%{version} -p1
-if grep -ErinI 'cc0|creative.commons' \
+if grep -I --extended-regexp --recursive --ignore-case 'cc0|creative.commons' \
     --exclude=COPYRIGHT --exclude=CONTRIBUTING.md . >/dev/null
 then
    cat 1>&2 <<'EOF'

diff --git a/rust2rpm.toml b/rust2rpm.toml
index 97ca594..1e900dc 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -17,7 +17,7 @@ preamble = """
 [scripts]
 prep.pre = [
     """\
-if grep -ErinI 'cc0|creative.commons' \\
+if grep -I --extended-regexp --recursive --ignore-case 'cc0|creative.commons' \\
     --exclude=COPYRIGHT --exclude=CONTRIBUTING.md . >/dev/null
 then
    cat 1>&2 <<'EOF'

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-31 10:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-31 10:57 [rpms/rust-utf8_iter] rawhide: Use long options for grep 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