Switch to %ldconfig_scriptlets

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-02-03 18:18:35 +01:00
parent ff0d975e57
commit 45cb0aad1f
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -1,6 +1,6 @@
Name: libunistring
Version: 0.9.8
Release: 1%{?dist}
Release: 2%{?dist}
Group: System Environment/Libraries
Summary: GNU Unicode string library
License: GPLV2+ or LGPLv3+
@ -58,9 +58,7 @@ rm -rf $RPM_BUILD_ROOT
%{_includedir}/unistring
%{_includedir}/*.h
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%ldconfig_scriptlets
%post devel
/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :
@ -71,6 +69,9 @@ if [ $1 = 0 ]; then
fi
%changelog
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.9.8-2
- Switch to %%ldconfig_scriptlets
* Sat Dec 2 2017 Daiki Ueno <dueno@redhat.com> - 0.9.8-1
- Update to 0.9.8