Switch to %ldconfig_scriptlets

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-02-02 11:02:22 +01:00
parent 89b7bb3250
commit 7c009b0131
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -3,7 +3,7 @@
Name: libabigail
Version: 1.1
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Set of ABI analysis tools
License: LGPLv3+
@ -110,7 +110,7 @@ if test $? -ne 0; then
fi
%post
/sbin/ldconfig
%?ldconfig
/usr/sbin/install-info %{_infodir}/abigail.info* %{_infodir}/dir 2>/dev/null || :
%preun
@ -118,7 +118,7 @@ if [ $1 -eq 0 ]; then
/usr/sbin/install-info --delete %{_infodir}/abigail.info* %{_infodir}/dir 2>/dev/null || :
fi
%postun -p /sbin/ldconfig
%ldconfig_postun
%files
%{_bindir}/abicompat
@ -148,6 +148,9 @@ fi
%doc doc/manuals/html/*
%changelog
* Fri Feb 02 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.1-2
- Switch to %%ldconfig_scriptlets
* Thu Jan 25 2018 Dodji Seketeli <dodji@redhat.com> - 1.1-1
- Update to upstream 1.1
- Use python2-sphynx, rpm-python2, python2-rpm rather than