Fix path to ldconfig
Signed-off-by: Adam Tkac <vonsch@gmail.com>
This commit is contained in:
parent
ed2796f7bb
commit
b953ec87e1
45
avahi.spec
45
avahi.spec
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
Name: avahi
|
Name: avahi
|
||||||
Version: 0.6.31
|
Version: 0.6.31
|
||||||
Release: 7%{?dist}
|
Release: 8%{?dist}
|
||||||
Summary: Local network service discovery
|
Summary: Local network service discovery
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: http://avahi.org
|
URL: http://avahi.org
|
||||||
@ -408,7 +408,7 @@ fashion with mDNS.
|
|||||||
avahi >/dev/null 2>&1 || :
|
avahi >/dev/null 2>&1 || :
|
||||||
|
|
||||||
%post
|
%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 || :
|
/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
|
if [ "$1" -eq 1 -a -s /etc/localtime ]; then
|
||||||
/usr/bin/cp -cfp /etc/localtime /etc/avahi/etc/localtime >/dev/null 2>&1 || :
|
/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
|
%systemd_preun avahi-daemon.socket avahi-daemon.service
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
/usr/sbin/ldconfig >/dev/null 2>&1 || :
|
/sbin/ldconfig >/dev/null 2>&1 || :
|
||||||
%systemd_postun_with_restart avahi-daemon.socket avahi-daemon.service
|
%systemd_postun_with_restart avahi-daemon.socket avahi-daemon.service
|
||||||
|
|
||||||
%triggerun -- avahi < 0.6.28-1
|
%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 --no-reload enable avahi-dnsconfd.service >/dev/null 2>&1 || :
|
||||||
/usr/bin/systemctl try-restart 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
|
%post glib -p /sbin/ldconfig
|
||||||
%postun glib -p /usr/sbin/ldconfig
|
%postun glib -p /sbin/ldconfig
|
||||||
|
|
||||||
%post compat-howl -p /usr/sbin/ldconfig
|
%post compat-howl -p /sbin/ldconfig
|
||||||
%postun compat-howl -p /usr/sbin/ldconfig
|
%postun compat-howl -p /sbin/ldconfig
|
||||||
|
|
||||||
%post compat-libdns_sd -p /usr/sbin/ldconfig
|
%post compat-libdns_sd -p /sbin/ldconfig
|
||||||
%postun compat-libdns_sd -p /usr/sbin/ldconfig
|
%postun compat-libdns_sd -p /sbin/ldconfig
|
||||||
|
|
||||||
%post libs -p /usr/sbin/ldconfig
|
%post libs -p /sbin/ldconfig
|
||||||
%postun libs -p /usr/sbin/ldconfig
|
%postun libs -p /sbin/ldconfig
|
||||||
|
|
||||||
%post qt3 -p /usr/sbin/ldconfig
|
%post qt3 -p /sbin/ldconfig
|
||||||
%postun qt3 -p /usr/sbin/ldconfig
|
%postun qt3 -p /sbin/ldconfig
|
||||||
|
|
||||||
%post qt4 -p /usr/sbin/ldconfig
|
%post qt4 -p /sbin/ldconfig
|
||||||
%postun qt4 -p /usr/sbin/ldconfig
|
%postun qt4 -p /sbin/ldconfig
|
||||||
|
|
||||||
%post ui -p /usr/sbin/ldconfig
|
%post ui -p /sbin/ldconfig
|
||||||
%postun ui -p /usr/sbin/ldconfig
|
%postun ui -p /sbin/ldconfig
|
||||||
|
|
||||||
%post ui-gtk3 -p /usr/sbin/ldconfig
|
%post ui-gtk3 -p /sbin/ldconfig
|
||||||
%postun ui-gtk3 -p /usr/sbin/ldconfig
|
%postun ui-gtk3 -p /sbin/ldconfig
|
||||||
|
|
||||||
%post gobject -p /usr/sbin/ldconfig
|
%post gobject -p /sbin/ldconfig
|
||||||
%postun gobject -p /usr/sbin/ldconfig
|
%postun gobject -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
%doc docs/* avahi-daemon/example.service avahi-daemon/sftp-ssh.service avahi-daemon/ssh.service
|
%doc docs/* avahi-daemon/example.service avahi-daemon/sftp-ssh.service avahi-daemon/ssh.service
|
||||||
@ -643,6 +643,9 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Dec 21 2012 Adam Tkac <atkac redhat com> - 0.6.31-7
|
||||||
- rebuild against new libjpeg
|
- rebuild against new libjpeg
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user