From ebc63d0566c03a69b63fec9929cbd42c1b6f63554acac978f85bf7c288ea248c Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Wed, 7 Sep 2022 09:12:00 +0000 Subject: [PATCH] Accepting request 1001672 from home:Andreas_Schwab:Factory - GNU grep 3.8: * The -P option is now based on PCRE2 instead of the older PCRE (boo#1201803) * egrep and fgrep commands, deprecated since release 2.5.3 (2007), now warn that they are obsolescent and should be replaced by grep -E and grep -F * The confusing GREP_COLOR environment variable is now obsolescent * Regular expressions with stray backslashes now cause warnings * Regular expressions like [:space:] are now errors even if POSIXLY_CORRECT is set, since POSIX now allows the GNU behavior * In locales using UTF-8 encoding, the regular expression '.' no longer sometimes fails to match Unicode characters * The -s option no longer suppresses "binary file matches" messages. - doc: fix man page syntax errors (bsc#1201001) OBS-URL: https://build.opensuse.org/request/show/1001672 OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=123 --- grep-3.7.tar.xz | 3 --- grep-3.7.tar.xz.sig | 16 ---------------- grep-3.8.tar.xz | 3 +++ grep-3.8.tar.xz.sig | 16 ++++++++++++++++ grep.changes | 19 +++++++++++++++++++ grep.spec | 6 ++---- 6 files changed, 40 insertions(+), 23 deletions(-) delete mode 100644 grep-3.7.tar.xz delete mode 100644 grep-3.7.tar.xz.sig create mode 100644 grep-3.8.tar.xz create mode 100644 grep-3.8.tar.xz.sig diff --git a/grep-3.7.tar.xz b/grep-3.7.tar.xz deleted file mode 100644 index 490ecd3..0000000 --- a/grep-3.7.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5c10da312460aec721984d5d83246d24520ec438dd48d7ab5a05dbc0d6d6823c -size 1641196 diff --git a/grep-3.7.tar.xz.sig b/grep-3.7.tar.xz.sig deleted file mode 100644 index 57576d8..0000000 --- a/grep-3.7.tar.xz.sig +++ /dev/null @@ -1,16 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iQIzBAABCgAdFiEEFV0/xQDINEhtHupnf9n8ywAL7u4FAmEYH+0ACgkQf9n8ywAL -7u6eEA/8Cs/kVlnWvMUECPHEH5N18ga0uwZfiHC0TAL7TEqR3yakVRbiST0gPzSW -q99S6jZN8CSOCnMselyEpXjMgdb72iaSBXRxmUuXR036OIfkaHBmt0jeEd2dBadf -ATrsN+3kblWedvwh7vRERXnMRxMBysi2an4rAujOs4XIlYVZdVMW7fNmgZp3JppZ -L40fJ7VaDm4sqBQZC0IHi6dVAdrySBShtQjF59DhiWh+P2cpFDQmIqm9S3ncuuKQ -8QTsQi98mfUoyXFYeyz3cjECso2cPQgyJ7nHMyTzt2fgWuS0DYL+kvhZf2GfK5e5 -U2DjXcLhV0jSmDly1IwMyXR1uEMGwrCkGPu797DpTQdUHwfyachQ6YTOKVhXnL2/ -dw+IIffqi9govVw7hCfqg4tet/YRDR5+pmH2k3ArykX40ok91NqRPgFBR8vKZcTl -uJiO8kWdU4WMwNMWnvDaDFh7B0n2V6JxqElvXEE0TQCyJi15blwOGwY7cbLSYJyL -Ws+Sd8pOKCB9Q8TkaJQo1NyvAlpshag7dbmi39wLXc2bSmzjYwgXyvl2+UN7Ym3v -n65JP7OMjV0TgdFWklSMVg56W7bp2ZjlKQFGUPpAht0L6EdIShKhs3927ZoXEvJO -m/Fv063z9yVOUbyQVp10NLcEYcuxb9oVyfau1ykqHswMMHFMz5U= -=nTRi ------END PGP SIGNATURE----- diff --git a/grep-3.8.tar.xz b/grep-3.8.tar.xz new file mode 100644 index 0000000..d25c17c --- /dev/null +++ b/grep-3.8.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:498d7cc1b4fb081904d87343febb73475cf771e424fb7e6141aff66013abc382 +size 1709536 diff --git a/grep-3.8.tar.xz.sig b/grep-3.8.tar.xz.sig new file mode 100644 index 0000000..f118d40 --- /dev/null +++ b/grep-3.8.tar.xz.sig @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCgAdFiEEFV0/xQDINEhtHupnf9n8ywAL7u4FAmMTAOUACgkQf9n8ywAL +7u5kYQ/+NBv0xMQhdJastXBXKd6Dr1DVssV72M5OwhvnULPyE8oP8SrdH3G7jjtE +Ymjb+7pVKUr+4NtJbIMPXrJeJOWSEMmOiHCYEo1S7y+NfNEqh/DH+bPK66x+Tywo +LLB8z0KIEh1PY+qXBIsdVpWaODHhMmFBk/8nbvWvXRON2pI24oxhE67ctd+sOYeD +v1krRFDBv04Ow1Jvoclc7iJ+y2xZtAE0V6xwGMscqUvReC/wiYMmLED9RBXVX5G6 +tJtJzdXbuLjs4qALHXYW/nN32UeKZG+fAPaX96uYBNBkSg/UjXJNrfxsl2GgXI2d +PYlZwQ3scth7TUnn7yrbbb/PR3rQnqVmzPP5lv2tKePwrQ7m6Z4ClhTU/AQo2baH +UbCzbW1drBYrql4MUzNefB+L1C8SGLJRuV8YHPqhjBS9kFn495UB1b8uzq0qof1m +lmc34dUzqY0m7BWMt++V4rDkeHVLgoSUP8wZmtcnj96u8qRiNBeWhENgykf2dUqg +eYtFOGKqMuUGfQOY7BLkCe63YxQLSZpUxNstMh5pTY88XiZE1kb11sOIspED4PZJ +V0bwDTC73Ka0U1GHpYA4tyPVIowrYUhVSx0Rp3YDqufpe4vbT8D4kolWlt3Mp6ha +gWhlYEZ4N/HSjumFSDIbaWEdopWnTeo4rEhiCKfs8lxOtvwen/Y= +=kYhb +-----END PGP SIGNATURE----- diff --git a/grep.changes b/grep.changes index 2020c26..185bc70 100644 --- a/grep.changes +++ b/grep.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Sun Sep 4 10:13:04 UTC 2022 - Andreas Stieger + +- GNU grep 3.8: + * The -P option is now based on PCRE2 instead of the older PCRE + (boo#1201803) + * egrep and fgrep commands, deprecated since release 2.5.3 (2007), now + warn that they are obsolescent and should be replaced by grep -E and + grep -F + * The confusing GREP_COLOR environment variable is now obsolescent + * Regular expressions with stray backslashes now cause warnings + * Regular expressions like [:space:] are now errors even if + POSIXLY_CORRECT is set, since POSIX now allows the GNU behavior + * In locales using UTF-8 encoding, the regular expression '.' no + longer sometimes fails to match Unicode characters + * The -s option no longer suppresses "binary file matches" + messages. +- doc: fix man page syntax errors (bsc#1201001) + ------------------------------------------------------------------- Wed Aug 3 12:26:44 UTC 2022 - Andreas Schwab diff --git a/grep.spec b/grep.spec index adebad4..8215fc0 100644 --- a/grep.spec +++ b/grep.spec @@ -17,7 +17,7 @@ Name: grep -Version: 3.7 +Version: 3.8 Release: 0 Summary: Print lines matching a pattern License: GPL-3.0-or-later @@ -32,7 +32,7 @@ Source5: %{name}-rpmlintrc BuildRequires: fdupes BuildRequires: glibc-locale BuildRequires: makeinfo -BuildRequires: pcre-devel +BuildRequires: pkgconfig(libpcre2-8) Provides: base:%{_bindir}/grep %description @@ -90,8 +90,6 @@ ln -sf %{_bindir}/grep %{buildroot}/bin/grep %{_bindir}/egrep %{_bindir}/fgrep %{_bindir}/grep -%{_mandir}/man1/egrep.1%{?ext_man} -%{_mandir}/man1/fgrep.1%{?ext_man} %{_mandir}/man1/grep.1%{?ext_man} %{_infodir}/grep.info%{?ext_info}