summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <hun@n-dimensional.de>2009-07-11 20:11:39 +0200
committerHans Ulrich Niedermann <hun@n-dimensional.de>2009-07-11 20:11:39 +0200
commitd0a4952d45678e73df27b961877a6d5c9d2e95f1 (patch)
tree1a2a33d1accf9aa9d23984da49165e78b0969d33
parente168b9dc7f6b6762e5650863632f53de15ca9b49 (diff)
downloadgps-devices-package-d0a4952d45678e73df27b961877a6d5c9d2e95f1.zip
gps-devices-package-d0a4952d45678e73df27b961877a6d5c9d2e95f1.tar.gz
gps-devices-package-d0a4952d45678e73df27b961877a6d5c9d2e95f1.tar.xz
Figuring out proper file type for dummy-device
-rw-r--r--gps-device.fc2
-rw-r--r--gpsd-devices.spec4
2 files changed, 3 insertions, 3 deletions
diff --git a/gps-device.fc b/gps-device.fc
index e2572f7..cfe57b6 100644
--- a/gps-device.fc
+++ b/gps-device.fc
@@ -1 +1 @@
-/usr/share/gpsd/dummy-device -f gen_context(system_u:object_r:gps_device_t,s0)
+/usr/share/gpsd/dummy-device -s gen_context(system_u:object_r:gps_device_t,s0)
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