summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <hun@n-dimensional.de>2009-07-11 19:37:07 +0200
committerHans Ulrich Niedermann <hun@n-dimensional.de>2009-07-11 19:37:07 +0200
commit61ce1535e89cb362e3eb9b1a6a601af62c26513f (patch)
tree69df875dd91d8e1c5f978810172f7ea97878daf1
parent1daabc843d406b343f712434dbc3f662f6d526ce (diff)
downloadgps-devices-package-61ce1535e89cb362e3eb9b1a6a601af62c26513f.zip
gps-devices-package-61ce1535e89cb362e3eb9b1a6a601af62c26513f.tar.gz
gps-devices-package-61ce1535e89cb362e3eb9b1a6a601af62c26513f.tar.xz
Load policy module with complete path
-rw-r--r--gpsd-devices.spec6
1 files changed, 3 insertions, 3 deletions
diff --git a/gpsd-devices.spec b/gpsd-devices.spec
index 657fde5..8e0eead 100644
--- a/gpsd-devices.spec
+++ b/gpsd-devices.spec
@@ -1,5 +1,5 @@
Name: gpsd-devices
-Version: 0.0.8
+Version: 0.0.9
Release: 0%{?dist}
Summary: GPS Devices for navigation
@@ -69,12 +69,12 @@ exit 0
%post
-semodule -i gps-device.pp gpsd-devices.pp || semodule -u gps-device.pp gpsd-devices.pp
+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"
exit 0
%preun
-semodule -r gpsd-devices.pp gps-device.pp
+semodule -r gpsd-devices gps-device
exit 0