From 5c4d3e0c1ab7787ce01b90338d013a1f6b7d28e6 Mon Sep 17 00:00:00 2001 From: Hans Ulrich Niedermann Date: Sat, 11 Jul 2009 19:23:18 +0200 Subject: 0.0.7: dummy-device in %files --- gpsd-devices.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'gpsd-devices.spec') diff --git a/gpsd-devices.spec b/gpsd-devices.spec index f2223db..061aa7f 100644 --- a/gpsd-devices.spec +++ b/gpsd-devices.spec @@ -1,5 +1,5 @@ Name: gpsd-devices -Version: 0.0.6 +Version: 0.0.7 Release: 0%{?dist} Summary: GPS Devices for navigation @@ -59,6 +59,9 @@ install %{SOURCE1} "%{buildroot}/usr/share/hal/fdi/policy/" install -d "%{buildroot}/usr/share/selinux/targeted" install gps-device.pp gpsd-devices.pp "%{buildroot}/usr/share/selinux/targeted/" +install -d "%{buildroot}%{_datadir}/gpsd" +mkfifo "%{buildroot}%{_datadir}/gpsd/dummy-device" + %pre getent group gps >/dev/null || groupadd -r gps @@ -67,9 +70,6 @@ exit 0 %post semodule -u gps-device gpsd-devices -[ -p "%{_datadir}/gpsd/dummy-device" ] || mkfifo "%{_datadir}/gpsd/dummy-device" -chown root.gps "%{_datadir}/gpsd/dummy-device" -chmod 0644 "%{_datadir}/gpsd/dummy-device" exit 0 @@ -90,6 +90,7 @@ rm -rf "%{buildroot}" %{_datadir}/hal/fdi/policy/gpsd-devices-policy.fdi %{_datadir}/selinux/targeted/gps-device.pp %{_datadir}/selinux/targeted/gpsd-devices.pp +%attr(0644,root,gps) %{_datadir}/gpsd/dummy-device %changelog -- cgit