Switch to %ldconfig_scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
94b4cda3bc
commit
45cef0410e
20
gettext.spec
20
gettext.spec
@ -8,7 +8,7 @@
|
|||||||
Summary: GNU libraries and utilities for producing multi-lingual messages
|
Summary: GNU libraries and utilities for producing multi-lingual messages
|
||||||
Name: gettext
|
Name: gettext
|
||||||
Version: 0.19.8.1
|
Version: 0.19.8.1
|
||||||
Release: 12%{?dist}
|
Release: 13%{?dist}
|
||||||
License: GPLv3+ and LGPLv2+
|
License: GPLv3+ and LGPLv2+
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
URL: http://www.gnu.org/software/gettext/
|
URL: http://www.gnu.org/software/gettext/
|
||||||
@ -251,36 +251,23 @@ done
|
|||||||
make check LIBUNISTRING=-lunistring
|
make check LIBUNISTRING=-lunistring
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
/sbin/ldconfig
|
|
||||||
/sbin/install-info %{_infodir}/gettext.info.gz %{_infodir}/dir || :
|
/sbin/install-info %{_infodir}/gettext.info.gz %{_infodir}/dir || :
|
||||||
|
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
if [ "$1" = 0 ]; then
|
if [ "$1" = 0 ]; then
|
||||||
/sbin/install-info --delete %{_infodir}/gettext.info.gz %{_infodir}/dir || :
|
/sbin/install-info --delete %{_infodir}/gettext.info.gz %{_infodir}/dir || :
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
|
||||||
|
|
||||||
|
|
||||||
%post devel
|
%post devel
|
||||||
/sbin/ldconfig
|
|
||||||
/sbin/install-info %{_infodir}/autosprintf.info %{_infodir}/dir || :
|
/sbin/install-info %{_infodir}/autosprintf.info %{_infodir}/dir || :
|
||||||
|
|
||||||
|
|
||||||
%preun devel
|
%preun devel
|
||||||
if [ "$1" = 0 ]; then
|
if [ "$1" = 0 ]; then
|
||||||
/sbin/install-info --delete %{_infodir}/autosprintf.info %{_infodir}/dir || :
|
/sbin/install-info --delete %{_infodir}/autosprintf.info %{_infodir}/dir || :
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
%ldconfig_scriptlets libs
|
||||||
%postun devel -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%post libs -p /sbin/ldconfig
|
|
||||||
%postun libs -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
%doc AUTHORS gettext-runtime/BUGS
|
%doc AUTHORS gettext-runtime/BUGS
|
||||||
@ -355,6 +342,9 @@ fi
|
|||||||
%{_mandir}/man1/msghack.1*
|
%{_mandir}/man1/msghack.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.19.8.1-13
|
||||||
|
- Switch to %%ldconfig_scriptlets
|
||||||
|
|
||||||
* Fri Jan 05 2018 Pavel Raiskup <praiskup@redhat.com> - 0.19.8.1-12
|
* Fri Jan 05 2018 Pavel Raiskup <praiskup@redhat.com> - 0.19.8.1-12
|
||||||
- xgettext --its segfault fix (rhbz#1531476)
|
- xgettext --its segfault fix (rhbz#1531476)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user