diff --git a/efgrep-warning.patch b/efgrep-warning.patch new file mode 100644 index 0000000..6782a69 --- /dev/null +++ b/efgrep-warning.patch @@ -0,0 +1,9 @@ +Index: grep-3.8/src/egrep.sh +=================================================================== +--- grep-3.8.orig/src/egrep.sh ++++ grep-3.8/src/egrep.sh +@@ -1,4 +1,2 @@ + #!@SHELL@ +-cmd=${0##*/} +-echo "$cmd: warning: $cmd is obsolescent; using @grep@ @option@" >&2 + exec @grep@ @option@ "$@" diff --git a/grep.changes b/grep.changes index 185bc70..e29d331 100644 --- a/grep.changes +++ b/grep.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Sep 20 08:29:41 UTC 2022 - Andreas Schwab + +- efgrep-warning.patch: remove warning from [ef]grep + ------------------------------------------------------------------- Sun Sep 4 10:13:04 UTC 2022 - Andreas Stieger diff --git a/grep.spec b/grep.spec index 8215fc0..48f0f44 100644 --- a/grep.spec +++ b/grep.spec @@ -29,6 +29,7 @@ Source2: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig Source3: %{name}.keyring Source4: profile.sh Source5: %{name}-rpmlintrc +Patch0: efgrep-warning.patch BuildRequires: fdupes BuildRequires: glibc-locale BuildRequires: makeinfo