From e5d9e5bbb29a3f9744a6c03fba22ef1fea80497d Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Mon, 5 Feb 2018 11:32:15 +0100 Subject: [PATCH] Revert "Switch to %ldconfig_scriptlets" This breaks build on basically everything we support. Needs more thought. This reverts commit 3dc75bb9688d00f5b47dfdb347ad90f8badfd61c. --- NetworkManager.spec | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/NetworkManager.spec b/NetworkManager.spec index 35336ce..23e6816 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}.1 +Release: %{release_version}%{?snap}%{?dist} Group: System Environment/Base License: GPLv2+ URL: http://www.gnome.org/projects/NetworkManager/ @@ -522,8 +522,11 @@ fi %systemd_postun -%ldconfig_scriptlets glib -%ldconfig_scriptlets libnm +%post glib -p /sbin/ldconfig +%postun glib -p /sbin/ldconfig + +%post libnm -p /sbin/ldconfig +%postun libnm -p /sbin/ldconfig %files @@ -693,9 +696,6 @@ 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