Accepting request 1054451 from home:lnussel:usrmerge
Replace transitional %usrmerged macro with regular version check (boo#1206798) OBS-URL: https://build.opensuse.org/request/show/1054451 OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=127
This commit is contained in:
parent
63994663b8
commit
858941fd15
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 27 12:25:45 UTC 2022 - Ludwig Nussel <lnussel@suse.com>
|
||||
|
||||
- Replace transitional %usrmerged macro with regular version check (boo#1206798)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 20 08:29:41 UTC 2022 - Andreas Schwab <schwab@suse.de>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package grep
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -71,7 +71,7 @@ echo 'int main() { return 77; }' > gnulib-tests/test-free.c
|
||||
|
||||
%install
|
||||
%make_install
|
||||
%if !0%{?usrmerged}
|
||||
%if 0%{?suse_version} < 1550
|
||||
install -d %{buildroot}/bin
|
||||
ln -sf %{_bindir}/egrep %{buildroot}/bin/egrep
|
||||
ln -sf %{_bindir}/fgrep %{buildroot}/bin/fgrep
|
||||
@ -83,7 +83,7 @@ ln -sf %{_bindir}/grep %{buildroot}/bin/grep
|
||||
%files
|
||||
%license COPYING
|
||||
%doc README AUTHORS NEWS THANKS TODO ChangeLog*
|
||||
%if !0%{?usrmerged}
|
||||
%if 0%{?suse_version} < 1550
|
||||
/bin/egrep
|
||||
/bin/fgrep
|
||||
/bin/grep
|
||||
|
Loading…
Reference in New Issue
Block a user