SHA256
1
0
forked from pool/tar

Accepting request 1055744 from home:lnussel:usrmerge

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

OBS-URL: https://build.opensuse.org/request/show/1055744
OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=118
This commit is contained in:
Danilo Spinella
2023-01-04 14:19:00 +00:00
committed by Git OBS Bridge
parent 1a8b3bd277
commit f78b56f65a
2 changed files with 7 additions and 2 deletions

View File

@@ -167,7 +167,7 @@ rm %{buildroot}%{_localstatedir}/lib/tests/tar/{atconfig,atlocal,Makefile}*
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
ln -sf %{_sysconfdir}/alternatives/rmt %{buildroot}%{_bindir}/rmt
ln -sf %{_sysconfdir}/alternatives/rmt.1%{ext_man} %{buildroot}%{_mandir}/man1/rmt.1%{ext_man}
%if !0%{?usrmerged}
%if 0%{?suse_version} < 1550
mkdir -p %{buildroot}/bin
ln -s %{_bindir}/%{name} %{buildroot}/bin
%endif
@@ -218,7 +218,7 @@ fi
%files
%license COPYING
%if !0%{?usrmerged}
%if 0%{?suse_version} < 1550
/bin/%{name}
%endif
%{_bindir}/%{name}