Accepting request 1166714 from Base:System

- restore texinfo macros for SLE15

    also match e.g., the Arabic digits: ٠١٢٣٤٥٦٧٨٩.
- GNU grep 3.8 (jsc#PED-6579):
  * The -s option no longer suppresses "binary file matches"
- use release keyring rather than full one for validation
- Make profiling deterministic (bsc#1040589, SLE-24115)
  * --files-without-match (-L) behavior reverted to again succeed
  * When standard output is /dev/null, grep no longer fails when
- Drop upstreamed proc-lseek-glitch.patch
    an invalid regular expression that was read from an
  * grep -z would match strings it should not.  To trigger the bug,
    you'd have to use a regular expression including an anchor
    (^ or $) and a feature like a range or a backreference, causing
    With a multibyte locale, that matcher could mistakenly match a
    string containing a newline. For example, this command:
    would mistakenly match and print all four input bytes.  After
  * grep -Pz now diagnoses attempts to use patterns containing ^
    and $, instead of mishandling these patterns.  This problem
    seems to be inherent to the PCRE API; removing this limitation
    is on PCRE's maint/README wish list.  Patterns can continue to
    match literal ^ and $ by escaping them with \ (now needed even
  * Binary files are now less likely to generate diagnostics and
    more likely to yield text matches.  grep now reports "Binary
    file FOO matches" and suppresses further output instead of
    outputting a line containing an encoding error; hence grep can
    now report matching text before a later binary match.
    Formerly, grep reported FOO to be binary when it found an
    encoding error in FOO before generating output for FOO, which
    meant it never reported both matching text and matching binary

OBS-URL: https://build.opensuse.org/request/show/1166714
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grep?expand=0&rev=91
This commit is contained in:
Ana Guerrero 2024-04-12 15:33:38 +00:00 committed by Git OBS Bridge
commit 827e4ff729
2 changed files with 94 additions and 77 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Apr 10 20:20:08 UTC 2024 - Dirk Müller <dmueller@suse.com>
- restore texinfo macros for SLE15
-------------------------------------------------------------------
Wed Aug 16 14:21:13 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>
@ -51,7 +56,7 @@ Tue Sep 20 08:29:41 UTC 2022 - Andreas Schwab <schwab@suse.de>
-------------------------------------------------------------------
Sun Sep 4 10:13:04 UTC 2022 - Andreas Stieger <andreas.stieger@gmx.de>
- GNU grep 3.8:
- GNU grep 3.8 (jsc#PED-6579):
* 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
@ -85,7 +90,7 @@ Tue May 24 14:15:24 UTC 2022 - Stephan Kulow <coolo@suse.com>
-------------------------------------------------------------------
Tue Mar 15 21:51:41 UTC 2022 - Bernhard Wiedemann <bwiedemann@suse.com>
- Make profiling deterministic (bsc#1040589)
- Make profiling deterministic (bsc#1040589, SLE-24115)
-------------------------------------------------------------------
Sat Feb 12 13:40:18 UTC 2022 - Dirk Müller <dmueller@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package grep
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -34,6 +34,10 @@ BuildRequires: fdupes
BuildRequires: glibc-locale
BuildRequires: makeinfo
BuildRequires: pkgconfig(libpcre2-8)
%if 0%{?suse_version} < 1550
Requires(pre): %{install_info_prereq}
Requires(preun): %{install_info_prereq}
%endif
Provides: base:%{_bindir}/grep
%description
@ -80,6 +84,14 @@ ln -sf %{_bindir}/grep %{buildroot}/bin/grep
%fdupes -s %{buildroot}
%find_lang %{name}
%if 0%{?suse_version} < 1550
%post
%install_info --info-dir=%{_infodir} %{_infodir}/grep.info%{ext_info}
%preun
%install_info_delete --info-dir=%{_infodir} %{_infodir}/grep.info%{ext_info}
%endif
%files
%license COPYING
%doc README AUTHORS NEWS THANKS TODO ChangeLog*