Accepting request 1055716 from home:lnussel:usrmerge

Replace transitional %usrmerged macro with regular version check (boo#1206798)

OBS-URL: https://build.opensuse.org/request/show/1055716
OBS-URL: https://build.opensuse.org/package/show/network:utilities/net-tools?expand=0&rev=67
This commit is contained in:
Dominique Leuenberger 2023-03-20 14:03:15 +00:00 committed by Git OBS Bridge
parent 4d93f4593e
commit 155f5fff84
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Dec 27 13:12:55 UTC 2022 - Ludwig Nussel <lnussel@suse.com>
- Replace transitional %usrmerged macro with regular version check (boo#1206798)
-------------------------------------------------------------------
Sun Jan 24 18:04:26 UTC 2021 - Dirk Müller <dmueller@suse.com>

View File

@ -84,7 +84,7 @@ for tool in iptunnel ipmaddr; do
help2man -s8 "%{buildroot}%{_sbindir}/${tool}" --no-discard-stderr >"${t}"
done
# generate bin/sbin compat symlinks
%if !0%{?usrmerged}
%if 0%{?suse_version} < 1550
mkdir -p %{buildroot}/sbin
mkdir -p %{buildroot}/bin
for i in ether-wake nameif plipconfig slattach arp ipmaddr iptunnel; do
@ -103,7 +103,7 @@ done
%{_sbindir}/nameif
%{_sbindir}/plipconfig
%{_sbindir}/slattach
%if !0%{?usrmerged}
%if 0%{?suse_version} < 1550
/sbin/ether-wake
/sbin/nameif
/sbin/plipconfig
@ -126,7 +126,7 @@ done
%{_bindir}/ifconfig
%{_bindir}/netstat
%{_bindir}/route
%if !0%{?usrmerged}
%if 0%{?suse_version} < 1550
/bin/ifconfig
/bin/netstat
/bin/route