diff --git a/gettext.spec b/gettext.spec index 15f0257..d53c89b 100644 --- a/gettext.spec +++ b/gettext.spec @@ -8,7 +8,7 @@ Summary: GNU libraries and utilities for producing multi-lingual messages Name: gettext Version: 0.19.8.1 -Release: 12%{?dist} +Release: 13%{?dist} License: GPLv3+ and LGPLv2+ Group: Development/Tools URL: http://www.gnu.org/software/gettext/ @@ -251,36 +251,23 @@ done make check LIBUNISTRING=-lunistring %endif - %post -/sbin/ldconfig /sbin/install-info %{_infodir}/gettext.info.gz %{_infodir}/dir || : - %preun if [ "$1" = 0 ]; then /sbin/install-info --delete %{_infodir}/gettext.info.gz %{_infodir}/dir || : fi - -%postun -p /sbin/ldconfig - - %post devel -/sbin/ldconfig /sbin/install-info %{_infodir}/autosprintf.info %{_infodir}/dir || : - %preun devel if [ "$1" = 0 ]; then /sbin/install-info --delete %{_infodir}/autosprintf.info %{_infodir}/dir || : fi - -%postun devel -p /sbin/ldconfig - -%post libs -p /sbin/ldconfig -%postun libs -p /sbin/ldconfig +%ldconfig_scriptlets libs %files -f %{name}.lang %doc AUTHORS gettext-runtime/BUGS @@ -355,6 +342,9 @@ fi %{_mandir}/man1/msghack.1* %changelog +* Sat Feb 03 2018 Igor Gnatenko - 0.19.8.1-13 +- Switch to %%ldconfig_scriptlets + * Fri Jan 05 2018 Pavel Raiskup - 0.19.8.1-12 - xgettext --its segfault fix (rhbz#1531476)