diff options
Diffstat (limited to 'gpsd-devices.spec')
-rw-r--r-- | gpsd-devices.spec | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gpsd-devices.spec b/gpsd-devices.spec index 83c532a..03c2bfd 100644 --- a/gpsd-devices.spec +++ b/gpsd-devices.spec @@ -1,5 +1,5 @@ Name: gpsd-devices -Version: 0.0.3 +Version: 0.0.4 Release: 0%{?dist} Summary: GPS Devices for navigation @@ -64,15 +64,17 @@ exit 0 %post -semodule -i gps_device gpsd_devices +semodule -u gps_device gpsd_devices mkfifo "%{_datadir}/gpsd/dummy-device" chown root.gps "%{_datadir}/gpsd/dummy-device" chmod 0644 "%{_datadir}/gpsd/dummy-device" +exit 0 %preun rm -f "%{_datadir}/gpsd/dummy-device" semodule -r gpsd_devices gps_device +exit 0 %clean |