From 3dc75bb9688d00f5b47dfdb347ad90f8badfd61c Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Fri, 2 Feb 2018 11:25:09 +0100 Subject: [PATCH] Switch to %ldconfig_scriptlets Signed-off-by: Igor Gnatenko --- NetworkManager.spec | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/NetworkManager.spec b/NetworkManager.spec index 23e6816..35336ce 100644 --- a/NetworkManager.spec +++ b/NetworkManager.spec @@ -75,7 +75,7 @@ Name: NetworkManager Summary: Network connection manager and user applications Epoch: %{epoch_version} Version: %{rpm_version} -Release: %{release_version}%{?snap}%{?dist} +Release: %{release_version}%{?snap}%{?dist}.1 Group: System Environment/Base License: GPLv2+ URL: http://www.gnome.org/projects/NetworkManager/ @@ -522,11 +522,8 @@ fi %systemd_postun -%post glib -p /sbin/ldconfig -%postun glib -p /sbin/ldconfig - -%post libnm -p /sbin/ldconfig -%postun libnm -p /sbin/ldconfig +%ldconfig_scriptlets glib +%ldconfig_scriptlets libnm %files @@ -696,6 +693,9 @@ fi %endif %changelog +* Fri Feb 02 2018 Igor Gnatenko - 1:1.10.2-1.1 +- Switch to %%ldconfig_scriptlets + * Fri Dec 15 2017 Thomas Haller - 1:1.10.2-1 - Update to 1.10.2 release