From c841754d4bc51ea95d40625c1ac0e3e96165d8f7 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 30 Jan 2018 08:40:41 +0100 Subject: [PATCH] Switch to %ldconfig_scriptlets Signed-off-by: Igor Gnatenko --- libsolv.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/libsolv.spec b/libsolv.spec index 2b34f96..1b9c685 100644 --- a/libsolv.spec +++ b/libsolv.spec @@ -38,7 +38,7 @@ Name: lib%{libname} Version: 0.6.30 -Release: 6%{?commit:.git.%{commitnum}.%{?shortcommit}}%{?dist} +Release: 7%{?commit:.git.%{commitnum}.%{?shortcommit}}%{?dist} Summary: Package dependency solver License: BSD @@ -193,9 +193,7 @@ mv %{buildroot}%{_bindir}/repo2solv{.sh,} %check %ninja_test -C "%{_vpath_builddir}" -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files %license LICENSE* @@ -280,6 +278,9 @@ mv %{buildroot}%{_bindir}/repo2solv{.sh,} %endif %changelog +* Tue Jan 30 2018 Igor Gnatenko - 0.6.30-7.git.2898.ae214a6 +- Switch to %%ldconfig_scriptlets + * Mon Jan 29 2018 Igor Gnatenko - 0.6.30-6.git.2898.ae214a6 - Disable librpm from accessing DB