Accepting request 952250 from home:sbrabec:branches:M17N

- Do not fail with rpm --excludedocs (bsc#1192195).

OBS-URL: https://build.opensuse.org/request/show/952250
OBS-URL: https://build.opensuse.org/package/show/M17N/groff?expand=0&rev=84
This commit is contained in:
Stanislav Brabec 2022-02-07 21:08:18 +00:00 committed by Git OBS Bridge
parent a0d6850b3b
commit c96e20fc3b
2 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Feb 7 20:17:31 UTC 2022 - Stanislav Brabec <sbrabec@suse.com>
- Do not fail with rpm --excludedocs (bsc#1192195).
-------------------------------------------------------------------
Tue Nov 30 22:32:55 UTC 2021 - Stanislav Brabec <sbrabec@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -251,9 +251,11 @@ install -m 644 %{SOURCE3} %{SOURCE4} %{buildroot}/%{_sysconfdir}/profile.d/
%if %{with full_build}
%post -n groff-full
%install_info --info-dir=%{_infodir} %{_infodir}/groff.info.gz
update-alternatives --install \
%{_mandir}/man7/roff.7%{?ext_man} roff.7%{?ext_man} \
%{_mandir}/man7/roff-gf.7%{?ext_man} 500
if test -f %{_mandir}/man7/roff-gf.7%{?ext_man} ; then
update-alternatives --install \
%{_mandir}/man7/roff.7%{?ext_man} roff.7%{?ext_man} \
%{_mandir}/man7/roff-gf.7%{?ext_man} 500
fi
%preun -n groff-full
%install_info_delete --info-dir=%{_infodir} %{_infodir}/groff.info.gz