SHA256
3
0
forked from pool/texinfo

Accepting request 922357 from Publishing

- Move to /usr for UsrMerge (boo#1191099)

OBS-URL: https://build.opensuse.org/request/show/922357
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/texinfo?expand=0&rev=60
This commit is contained in:
Richard Brown 2021-10-08 20:04:31 +00:00 committed by Git OBS Bridge
parent 5b027ef06f
commit 1bc51e1bdc
2 changed files with 15 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Sep 30 11:25:48 UTC 2021 - Dr. Werner Fink <werner@suse.de>
- Move to /usr for UsrMerge (boo#1191099)
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jan 28 14:01:49 UTC 2021 - Thorsten Kukuk <kukuk@suse.com> Thu Jan 28 14:01:49 UTC 2021 - Thorsten Kukuk <kukuk@suse.com>

View File

@ -124,9 +124,15 @@ then
ln -sf texi2pdf.1.gz %{buildroot}%{_mandir}/man1/pdftexi2dvi.1.gz ln -sf texi2pdf.1.gz %{buildroot}%{_mandir}/man1/pdftexi2dvi.1.gz
fi fi
%if !0%{?usrmerged}
mkdir -p %{buildroot}/sbin mkdir -p %{buildroot}/sbin
mv %{buildroot}%{_bindir}/install-info %{buildroot}/sbin/ mv %{buildroot}%{_bindir}/install-info %{buildroot}/sbin/
ln -sf ../../sbin/install-info %{buildroot}%{_bindir}/install-info ln -sf ../../sbin/install-info %{buildroot}%{_bindir}/install-info
%else
mkdir -p %{buildroot}%{_sbindir}
mv %{buildroot}%{_bindir}/install-info %{buildroot}%{_sbindir}/
ln -sf ../sbin/install-info %{buildroot}%{_bindir}/install-info
%endif
%find_lang %{name} %{name}.lang %find_lang %{name} %{name}.lang
%find_lang %{name}_document %{name}_document.lang %find_lang %{name}_document %{name}_document.lang
@ -214,7 +220,11 @@ end
%files -n info %files -n info
%defattr(-,root,root,0755) %defattr(-,root,root,0755)
%ghost %verify(not md5 size mtime) %{_infodir}/dir %ghost %verify(not md5 size mtime) %{_infodir}/dir
%if !0%{?usrmerged}
/sbin/install-info /sbin/install-info
%else
%{_sbindir}/install-info
%endif
%{_bindir}/install-info %{_bindir}/install-info
%{_bindir}/info %{_bindir}/info
%{_mandir}/man1/info.1%{?ext_man} %{_mandir}/man1/info.1%{?ext_man}