Fix versioning on triggers so they'll properly fire on upgrades from Fedora 14.

This commit is contained in:
Bill Nottingham 2011-05-05 16:30:43 -04:00
parent 28fb32c0e2
commit d2eddfce89

View File

@ -6,7 +6,7 @@
%endif
Name: avahi
Version: 0.6.30
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Local network service discovery
Group: System Environment/Base
License: LGPLv2
@ -379,7 +379,7 @@ if [ "$1" -eq 1 ]; then
fi
fi
%triggerun -- avahi < 0.6.26-1
%triggerun -- avahi < 0.6.28-1
if /sbin/chkconfig --level 5 avahi-daemon ; then
/bin/systemctl --no-reload enable avahi-daemon.service >/dev/null 2>&1 || :
fi
@ -416,7 +416,7 @@ if [ "$1" -eq 1 ]; then
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
fi
%triggerun dnsconfd -- avahi-dnsconfd < 0.6.26-1
%triggerun dnsconfd -- avahi-dnsconfd < 0.6.28-1
if /sbin/chkconfig --level 5 avahi-dnsconfd ; then
/bin/systemctl --no-reload enable avahi-dnsconfd.service >/dev/null 2>&1 || :
fi
@ -645,6 +645,9 @@ fi
%endif
%changelog
* Thu May 5 2011 Bill Nottingham <notting@redhat.com> - 0.6.30-3
- fix versioning on triggers
* Tue May 3 2011 Lennart Poettering <lpoetter@redhat.com> - 0.6.30-2
- Enable Avahi by default
- https://bugzilla.redhat.com/show_bug.cgi?id=647831