From 99accb0080397228d1a0f7e8b6ba7c645945512d Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Wed, 21 Mar 2018 13:25:15 -0700 Subject: [PATCH] Fix my ldconfig fix to be actually correct. --- gdm.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/gdm.spec b/gdm.spec index 3630c21..eefe083 100644 --- a/gdm.spec +++ b/gdm.spec @@ -10,7 +10,7 @@ Name: gdm Epoch: 1 Version: 3.28.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: The GNOME Display Manager License: GPLv2+ @@ -188,7 +188,7 @@ find %{buildroot} -name '*.la' -delete exit 0 %post -%ldconfig_post +%{?ldconfig} # if the user already has a config file, then migrate it to the new # location; rpm will ensure that old file will be renamed @@ -243,7 +243,7 @@ fi %systemd_preun gdm.service %postun -%ldconfig_postun +%%{?ldconfig} %systemd_postun gdm.service %files -f gdm.lang @@ -319,6 +319,9 @@ fi %{_libdir}/pkgconfig/gdm-pam-extensions.pc %changelog +* Wed Mar 21 2018 Kevin Fenzi - 3.28.0-5 +- Fix my ldconfig fix to be actually correct. + * Wed Mar 21 2018 Kevin Fenzi - 3.28.0-4 - Fix post/postun calls to ldconfig scriptlet.