[avahi] Fix path to ldconfig
Adam Tkac
atkac at fedoraproject.org
Fri Dec 21 16:10:53 UTC 2012
commit b953ec87e1190f0d12570eca73023c4dab4fdf6d
Author: Adam Tkac <vonsch at gmail.com>
Date: Fri Dec 21 17:10:21 2012 +0100
Fix path to ldconfig
Signed-off-by: Adam Tkac <vonsch at gmail.com>
avahi.spec | 45 ++++++++++++++++++++++++---------------------
1 files changed, 24 insertions(+), 21 deletions(-)
---
diff --git a/avahi.spec b/avahi.spec
index e10e66b..ecb4b54 100644
--- a/avahi.spec
+++ b/avahi.spec
@@ -10,7 +10,7 @@
Name: avahi
Version: 0.6.31
-Release: 7%{?dist}
+Release: 8%{?dist}
Summary: Local network service discovery
License: LGPLv2+
URL: http://avahi.org
@@ -408,7 +408,7 @@ fashion with mDNS.
avahi >/dev/null 2>&1 || :
%post
-/usr/sbin/ldconfig >/dev/null 2>&1 || :
+/sbin/ldconfig >/dev/null 2>&1 || :
/usr/bin/dbus-send --system --type=method_call --dest=org.freedesktop.DBus / org.freedesktop.DBus.ReloadConfig >/dev/null 2>&1 || :
if [ "$1" -eq 1 -a -s /etc/localtime ]; then
/usr/bin/cp -cfp /etc/localtime /etc/avahi/etc/localtime >/dev/null 2>&1 || :
@@ -419,7 +419,7 @@ fi
%systemd_preun avahi-daemon.socket avahi-daemon.service
%postun
-/usr/sbin/ldconfig >/dev/null 2>&1 || :
+/sbin/ldconfig >/dev/null 2>&1 || :
%systemd_postun_with_restart avahi-daemon.socket avahi-daemon.service
%triggerun -- avahi < 0.6.28-1
@@ -456,32 +456,32 @@ fi
/usr/bin/systemctl --no-reload enable avahi-dnsconfd.service >/dev/null 2>&1 || :
/usr/bin/systemctl try-restart avahi-dnsconfd.service >/dev/null 2>&1 || :
-%post glib -p /usr/sbin/ldconfig
-%postun glib -p /usr/sbin/ldconfig
+%post glib -p /sbin/ldconfig
+%postun glib -p /sbin/ldconfig
-%post compat-howl -p /usr/sbin/ldconfig
-%postun compat-howl -p /usr/sbin/ldconfig
+%post compat-howl -p /sbin/ldconfig
+%postun compat-howl -p /sbin/ldconfig
-%post compat-libdns_sd -p /usr/sbin/ldconfig
-%postun compat-libdns_sd -p /usr/sbin/ldconfig
+%post compat-libdns_sd -p /sbin/ldconfig
+%postun compat-libdns_sd -p /sbin/ldconfig
-%post libs -p /usr/sbin/ldconfig
-%postun libs -p /usr/sbin/ldconfig
+%post libs -p /sbin/ldconfig
+%postun libs -p /sbin/ldconfig
-%post qt3 -p /usr/sbin/ldconfig
-%postun qt3 -p /usr/sbin/ldconfig
+%post qt3 -p /sbin/ldconfig
+%postun qt3 -p /sbin/ldconfig
-%post qt4 -p /usr/sbin/ldconfig
-%postun qt4 -p /usr/sbin/ldconfig
+%post qt4 -p /sbin/ldconfig
+%postun qt4 -p /sbin/ldconfig
-%post ui -p /usr/sbin/ldconfig
-%postun ui -p /usr/sbin/ldconfig
+%post ui -p /sbin/ldconfig
+%postun ui -p /sbin/ldconfig
-%post ui-gtk3 -p /usr/sbin/ldconfig
-%postun ui-gtk3 -p /usr/sbin/ldconfig
+%post ui-gtk3 -p /sbin/ldconfig
+%postun ui-gtk3 -p /sbin/ldconfig
-%post gobject -p /usr/sbin/ldconfig
-%postun gobject -p /usr/sbin/ldconfig
+%post gobject -p /sbin/ldconfig
+%postun gobject -p /sbin/ldconfig
%files -f %{name}.lang
%doc docs/* avahi-daemon/example.service avahi-daemon/sftp-ssh.service avahi-daemon/ssh.service
@@ -643,6 +643,9 @@ fi
%endif
%changelog
+* Fri Dec 21 2012 Adam Tkac <atkac redhat com> - 0.6.31-8
+- fix path to ldconfig
+
* Fri Dec 21 2012 Adam Tkac <atkac redhat com> - 0.6.31-7
- rebuild against new libjpeg
More information about the scm-commits
mailing list