Dominique Leuenberger 2022-02-10 22:11:24 +00:00 committed by Git OBS Bridge
commit d9ca8eeb59
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