From 656f95b4e0a114a855944e33e155c35671e11a7f Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 3 Feb 2018 17:53:39 +0100 Subject: [PATCH] Switch to %ldconfig_scriptlets Signed-off-by: Igor Gnatenko --- libaec.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/libaec.spec b/libaec.spec index 48a0ca3..cf9197d 100644 --- a/libaec.spec +++ b/libaec.spec @@ -1,6 +1,6 @@ Name: libaec Version: 1.0.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Adaptive Entropy Coding library License: BSD Url: https://gitlab.dkrz.de/k202009/libaec @@ -48,8 +48,7 @@ popd #test data missing in tarball for check_szcomp and sampledata.sh make -C build test ARGS="-E \(check_szcomp\|sampledata.sh\)" -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files %doc README.md README.SZIP CHANGELOG.md @@ -63,6 +62,9 @@ make -C build test ARGS="-E \(check_szcomp\|sampledata.sh\)" %{_libdir}/lib*.so %changelog +* Sat Feb 03 2018 Igor Gnatenko - 1.0.2-2 +- Switch to %%ldconfig_scriptlets + * Tue Oct 24 2017 Christoph Junghans - 1.0.2-1 - Version bump to 1.0.2 (#1504372)