SHA256
3
0
forked from pool/grep

Accepting request 766066 from home:Andreas_Schwab:Factory

- Switch back to system regex to avoid undefined behaviour

OBS-URL: https://build.opensuse.org/request/show/766066
OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=98
This commit is contained in:
Andreas Schwab 2020-01-21 12:43:52 +00:00 committed by Git OBS Bridge
parent 6f4bd295ad
commit ad77cef40c
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jan 21 10:57:16 UTC 2020 - Andreas Schwab <schwab@suse.de>
- Switch back to system regex to avoid undefined behaviour
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Jan 5 10:59:44 UTC 2020 - Andreas Stieger <andreas.stieger@gmx.de> Sun Jan 5 10:59:44 UTC 2020 - Andreas Stieger <andreas.stieger@gmx.de>

View File

@ -1,7 +1,7 @@
# #
# spec file for package grep # spec file for package grep
# #
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2020 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -22,7 +22,7 @@ Release: 0
Summary: Print lines matching a pattern Summary: Print lines matching a pattern
License: GPL-3.0-or-later License: GPL-3.0-or-later
Group: Productivity/Text/Utilities Group: Productivity/Text/Utilities
Url: https://www.gnu.org/software/grep/ URL: https://www.gnu.org/software/grep/
Source0: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz Source0: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
Source2: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig Source2: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig
Source3: https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=grep&download=1#/%{name}.keyring Source3: https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=grep&download=1#/%{name}.keyring
@ -45,6 +45,7 @@ match to a specified pattern. By default, grep prints the matching lines.
%build %build
%configure \ %configure \
--disable-silent-rules \ --disable-silent-rules \
--without-included-regex \
%{nil} %{nil}
%if 0%{?do_profiling} %if 0%{?do_profiling}
make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate} -fno-profile-values" make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate} -fno-profile-values"