Switch to %ldconfig_scriptlets

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-02-03 18:21:15 +01:00
parent 3bf369c1d9
commit 2ff7da8fa7
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C
1 changed files with 5 additions and 4 deletions

View File

@ -1,7 +1,7 @@
Name: libassuan
Summary: GnuPG IPC library
Version: 2.5.1
Release: 1%{?dist}
Release: 2%{?dist}
# The library is LGPLv2+, the documentation GPLv3+
License: LGPLv2+ and GPLv3+
@ -57,9 +57,7 @@ rm -fv %{buildroot}%{_libdir}/lib*.la
make check
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%ldconfig_scriptlets
%post devel
/sbin/install-info %{_infodir}/assuan.info %{_infodir}/dir &>/dev/null || :
@ -84,6 +82,9 @@ fi
%changelog
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.5.1-2
- Switch to %%ldconfig_scriptlets
* Fri Dec 08 2017 Tomáš Mráz <tmraz@redhat.com> 2.5.1-1
- new upstream release 2.5.1