summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <hun@n-dimensional.de>2009-07-11 20:08:50 +0200
committerHans Ulrich Niedermann <hun@n-dimensional.de>2009-07-11 20:08:50 +0200
commite168b9dc7f6b6762e5650863632f53de15ca9b49 (patch)
tree7de05cf86882b9399ac0278cf6491eec8ad31671
parent364104f7630043db050e3587cad43d9c4a3d15d2 (diff)
downloadgps-devices-package-e168b9dc7f6b6762e5650863632f53de15ca9b49.zip
gps-devices-package-e168b9dc7f6b6762e5650863632f53de15ca9b49.tar.gz
gps-devices-package-e168b9dc7f6b6762e5650863632f53de15ca9b49.tar.xz
SE-Label dummy-device
-rw-r--r--gps-device.fc1
-rw-r--r--gpsd-devices.spec3
2 files changed, 3 insertions, 1 deletions
diff --git a/gps-device.fc b/gps-device.fc
index e69de29..e2572f7 100644
--- a/gps-device.fc
+++ b/gps-device.fc
@@ -0,0 +1 @@
+/usr/share/gpsd/dummy-device -f gen_context(system_u:object_r:gps_device_t,s0)
diff --git a/gpsd-devices.spec b/gpsd-devices.spec
index 7820872..6ab548a 100644
--- a/gpsd-devices.spec
+++ b/gpsd-devices.spec
@@ -1,5 +1,5 @@
Name: gpsd-devices
-Version: 0.0.11
+Version: 0.0.12
Release: 0%{?dist}
Summary: GPS Devices for navigation
@@ -71,6 +71,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"
+restorecon -v %{_datadir}/gpsd/dummy-device
service haldaemon restart
exit 0