summaryrefslogtreecommitdiffstats
path: root/gpsd-devices.spec
diff options
context:
space:
mode:
Diffstat (limited to 'gpsd-devices.spec')
-rw-r--r--gpsd-devices.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/gpsd-devices.spec b/gpsd-devices.spec
index 6ab548a..1bbde61 100644
--- a/gpsd-devices.spec
+++ b/gpsd-devices.spec
@@ -1,5 +1,5 @@
Name: gpsd-devices
-Version: 0.0.12
+Version: 0.0.13
Release: 0%{?dist}
Summary: GPS Devices for navigation
@@ -70,7 +70,7 @@ exit 0
%post
-semodule -i "%{_datadir}/selinux/targeted/gps-device.pp" "%{_datadir}/selinux/targeted/gpsd-devices.pp" || semodule -u "%{_datadir}/selinux/targeted/gps-device.pp" "%{_datadir}/selinux/targeted/gpsd-devices.pp"
+semodule -u "%{_datadir}/selinux/targeted/gps-device.pp" "%{_datadir}/selinux/targeted/gpsd-devices.pp" || semodule -i "%{_datadir}/selinux/targeted/gps-device.pp" "%{_datadir}/selinux/targeted/gpsd-devices.pp"
restorecon -v %{_datadir}/gpsd/dummy-device
service haldaemon restart
exit 0