public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-utf8_iter] rawhide: Use long options for grep
Date: Sat, 31 Oct 2026 10:57:12 GMT	[thread overview]
Message-ID: <179344423288.1.210002879508769509.rpms-rust-utf8_iter-7f0db152cbae@fedoraproject.org> (raw)

            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'

                 reply	other threads:[~2026-10-31 10:57 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=179344423288.1.210002879508769509.rpms-rust-utf8_iter-7f0db152cbae@fedoraproject.org \
    --to=code@musicinmybrain.net \
    --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