From 9ee5cd6a8933293cd89fb2bca59585134ffefd5a Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 3 Feb 2018 12:47:47 +0100 Subject: [PATCH] Switch to %ldconfig_scriptlets Signed-off-by: Igor Gnatenko --- libtomcrypt.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/libtomcrypt.spec b/libtomcrypt.spec index c7f70f5..ee06730 100644 --- a/libtomcrypt.spec +++ b/libtomcrypt.spec @@ -1,6 +1,6 @@ Name: libtomcrypt Version: 1.18.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A comprehensive, portable cryptographic toolkit License: Public Domain or WTFPL URL: http://www.libtom.net/ @@ -76,9 +76,7 @@ sed -i \ -e 's|^libdir=.*|libdir=${prefix}/%{_lib}|g' \ %{buildroot}%{_libdir}/pkgconfig/%{name}.pc -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files %license LICENSE @@ -93,6 +91,9 @@ sed -i \ %doc doc/crypt.pdf %changelog +* Sat Feb 03 2018 Igor Gnatenko - 1.18.1-2 +- Switch to %%ldconfig_scriptlets + * Fri Dec 08 2017 Simone Caronni - 1.18.1-1 - Update to 1.18.1.