From 4708c093f7b75db61253546105340fa5ba9a2106 Mon Sep 17 00:00:00 2001 From: "Kaleb S. KEITHLEY" Date: Thu, 15 Feb 2018 12:15:21 -0500 Subject: [PATCH] shared lib scriptlets, ldconfig Signed-off-by: Kaleb S. KEITHLEY --- glusterfs.spec | 23 ++++------------------- 1 file changed, 4 insertions(+), 19 deletions(-) diff --git a/glusterfs.spec b/glusterfs.spec index 6379091..965aa61 100644 --- a/glusterfs.spec +++ b/glusterfs.spec @@ -184,7 +184,7 @@ Summary: Distributed File System %if ( 0%{_for_fedora_koji_builds} ) Name: glusterfs Version: 3.13.2 -Release: %{?prereltag:0.}1%{?prereltag:.%{prereltag}}%{?dist} +Release: %{?prereltag:0.}2%{?prereltag:.%{prereltag}}%{?dist} %else Name: @PACKAGE_NAME@ Version: @PACKAGE_VERSION@ @@ -820,7 +820,6 @@ rm -rf %{buildroot} ## All %%post should be placed here and keep them sorted ## %post -/sbin/ldconfig %if ( 0%{!?_without_syslog:1} ) %if ( 0%{?fedora} ) || ( 0%{?rhel} && 0%{?rhel} >= 6 ) %systemd_postun_with_restart rsyslog @@ -828,8 +827,6 @@ rm -rf %{buildroot} %endif exit 0 -%post api -p /sbin/ldconfig - %if ( 0%{!?_without_events:1} ) %post events %systemd_post glustereventsd @@ -850,10 +847,6 @@ fi exit 0 %endif -%post libs -/sbin/ldconfig -exit 0 - %post server # Legacy server %systemd_post glusterd @@ -896,7 +889,6 @@ fi # BZ 834847 if [ -e /etc/ld.so.conf.d/glusterfs.conf ]; then rm -f /etc/ld.so.conf.d/glusterfs.conf - /sbin/ldconfig fi %if (0%{?_with_firewalld:1}) @@ -971,7 +963,6 @@ exit 0 ## All %%postun should be placed here and keep them sorted ## %postun -/sbin/ldconfig %if ( 0%{!?_without_syslog:1} ) %if ( 0%{?fedora} ) || ( 0%{?rhel} && 0%{?rhel} >= 6 ) %systemd_postun_with_restart rsyslog @@ -979,16 +970,7 @@ exit 0 %endif exit 0 -%postun api -/sbin/ldconfig -exit 0 - -%postun libs -/sbin/ldconfig -exit 0 - %postun server -/sbin/ldconfig %if (0%{?_with_firewalld:1}) %firewalld_reload %endif @@ -1389,6 +1371,9 @@ exit 0 %endif %changelog +* Thu Feb 15 2018 Kaleb S. KEITHLEY - 3.13.2-2 +- shared lib scriptlets, ldconfig + * Sat Jan 20 2018 Kaleb S. KEITHLEY - 3.13.2-1 - 3.13.2 GA