- don't use deprecated SYSFS{} in udev rules (#569089)

- fix init script LSB compliance
This commit is contained in:
Miroslav Lichvar 2010-03-02 17:00:43 +00:00
parent 079990867d
commit 0e1ecc8b46
2 changed files with 9 additions and 1 deletions

View File

@ -41,6 +41,7 @@ CONTROL_SOCKET=/var/run/gpsd.sock
lockfile=/var/lock/subsys/$prog
start() {
[ "$EUID" != "0" ] && exit 4
echo -n $"Starting $prog: "
daemon $exec -P $PIDFILE -F $CONTROL_SOCKET $OPTIONS $DEVICE
retval=$?
@ -50,6 +51,7 @@ start() {
}
stop() {
[ "$EUID" != "0" ] && exit 4
echo -n $"Stopping $prog: "
killproc $prog
retval=$?

View File

@ -2,7 +2,7 @@
Name: gpsd
Version: 2.39
Release: 6%{?dist}
Release: 7%{?dist}
Summary: Service daemon for mediating access to a GPS
Group: System Environment/Daemons
@ -78,6 +78,8 @@ can run on a serial terminal or terminal emulator.
%patch2 -p1
%patch3 -p1
sed -i 's/SYSFS/ATTRS/g' gpsd.rules
%build
%configure \
--disable-rpath \
@ -231,6 +233,10 @@ fi
%changelog
* Tue Mar 02 2010 Miroslav Lichvar <mlichvar@redhat.com> - 2.39-7
- don't use deprecated SYSFS{} in udev rules (#569089)
- fix init script LSB compliance
* Mon Feb 15 2010 Miroslav Lichvar <mlichvar@redhat.com> - 2.39-6
- fix linking with --no-add-needed (#564662)
- use %%global macro instead of %%define