Replace obsolete scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
fcdd3f123c
commit
b6c84e55be
23
gettext.spec
23
gettext.spec
@ -8,7 +8,7 @@
|
||||
Summary: GNU libraries and utilities for producing multi-lingual messages
|
||||
Name: gettext
|
||||
Version: 0.19.8.1
|
||||
Release: 15%{?dist}
|
||||
Release: 16%{?dist}
|
||||
License: GPLv3+ and LGPLv2+
|
||||
Group: Development/Tools
|
||||
URL: http://www.gnu.org/software/gettext/
|
||||
@ -54,8 +54,6 @@ BuildRequires: libxml2-devel
|
||||
BuildRequires: glib2-devel
|
||||
BuildRequires: libcroco-devel
|
||||
BuildRequires: libunistring-devel
|
||||
Requires(post): info
|
||||
Requires(preun): info
|
||||
# Depend on the exact version of the library sub package
|
||||
Requires: %{name}-libs%{_isa} = %{version}-%{release}
|
||||
# for F17 UsrMove
|
||||
@ -251,22 +249,6 @@ done
|
||||
make check LIBUNISTRING=-lunistring
|
||||
%endif
|
||||
|
||||
%post
|
||||
/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
|
||||
|
||||
%post devel
|
||||
/sbin/install-info %{_infodir}/autosprintf.info %{_infodir}/dir || :
|
||||
|
||||
%preun devel
|
||||
if [ "$1" = 0 ]; then
|
||||
/sbin/install-info --delete %{_infodir}/autosprintf.info %{_infodir}/dir || :
|
||||
fi
|
||||
|
||||
%ldconfig_scriptlets libs
|
||||
|
||||
%files -f %{name}.lang
|
||||
@ -342,6 +324,9 @@ fi
|
||||
%{_mandir}/man1/msghack.1*
|
||||
|
||||
%changelog
|
||||
* Sat Jul 28 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.19.8.1-16
|
||||
- Replace obsolete scriptlets
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.19.8.1-15
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user