From b953ec87e1190f0d12570eca73023c4dab4fdf6d Mon Sep 17 00:00:00 2001 From: Adam Tkac Date: Dec 21 2012 16:10:21 +0000 Subject: Fix path to ldconfig Signed-off-by: Adam Tkac --- 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 - 0.6.31-8 +- fix path to ldconfig + * Fri Dec 21 2012 Adam Tkac - 0.6.31-7 - rebuild against new libjpeg