Switch to %ldconfig_scriptlets

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

View File

@ -2,7 +2,7 @@
Summary: A GNU set of database routines which use extensible hashing Summary: A GNU set of database routines which use extensible hashing
Name: gdbm Name: gdbm
Version: 1.14.1 Version: 1.14.1
Release: 1%{?dist} Release: 2%{?dist}
Epoch: 1 Epoch: 1
Source: http://ftp.gnu.org/gnu/gdbm/gdbm-%{version}.tar.gz Source: http://ftp.gnu.org/gnu/gdbm/gdbm-%{version}.tar.gz
# See https://bugzilla.redhat.com/show_bug.cgi?id=4457 # See https://bugzilla.redhat.com/show_bug.cgi?id=4457
@ -84,9 +84,7 @@ rm -f $RPM_BUILD_ROOT/%{_infodir}/dir
export LD_LIBRARY_PATH=`pwd`/src/.libs/:`pwd`/compat/.libs/ export LD_LIBRARY_PATH=`pwd`/src/.libs/:`pwd`/compat/.libs/
make check make check
%post -p /sbin/ldconfig %ldconfig_scriptlets
%postun -p /sbin/ldconfig
%post devel %post devel
/sbin/install-info %{_infodir}/gdbm.info.gz %{_infodir}/dir \ /sbin/install-info %{_infodir}/gdbm.info.gz %{_infodir}/dir \
@ -115,6 +113,9 @@ fi
%{_mandir}/man3/* %{_mandir}/man3/*
%changelog %changelog
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1:1.14.1-2
- Switch to %%ldconfig_scriptlets
* Mon Jan 29 2018 Marek Skalický <mskalick@redhat.com> - 1:1.14.1-1 * Mon Jan 29 2018 Marek Skalický <mskalick@redhat.com> - 1:1.14.1-1
- Rebase to latest upstream release - Rebase to latest upstream release
(soname bump for ABI breakage in 1.14) (soname bump for ABI breakage in 1.14)