Accepting request 849668 from home:lnussel:usrmove

- prepare usrmerge (boo#1029961)

OBS-URL: https://build.opensuse.org/request/show/849668
OBS-URL: https://build.opensuse.org/package/show/Base:System/psmisc?expand=0&rev=123
This commit is contained in:
Dr. Werner Fink 2020-11-20 13:11:36 +00:00 committed by Git OBS Bridge
parent acb9ef5d5c
commit 406c87b021
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Oct 16 10:18:52 UTC 2020 - Ludwig Nussel <lnussel@suse.de>
- prepare usrmerge (boo#1029961)
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Apr 27 14:57:57 UTC 2020 - Dr. Werner Fink <werner@suse.de> Mon Apr 27 14:57:57 UTC 2020 - Dr. Werner Fink <werner@suse.de>

View File

@ -83,8 +83,10 @@ make check
%install %install
make DESTDIR=%{buildroot} install make DESTDIR=%{buildroot} install
%if !0%{?usrmerged}
mkdir -p %{buildroot}/bin/ mkdir -p %{buildroot}/bin/
ln -sf %{_bindir}/fuser %{buildroot}/bin/ ln -sf %{_bindir}/fuser %{buildroot}/bin/
%endif
%ifnarch %have_peekfd %ifnarch %have_peekfd
rm -f %{buildroot}%{_mandir}/man1/peekfd.1* rm -f %{buildroot}%{_mandir}/man1/peekfd.1*
%endif %endif
@ -93,7 +95,9 @@ rm -f %{buildroot}%{_mandir}/man1/peekfd.1*
%files %files
%defattr (-,root,root,755) %defattr (-,root,root,755)
%license COPYING %license COPYING
%if !0%{?usrmerged}
/bin/fuser /bin/fuser
%endif
%{_bindir}/fuser %{_bindir}/fuser
%{_bindir}/killall %{_bindir}/killall
%ifarch %have_peekfd %ifarch %have_peekfd