From 255342a1d71f300f2ca408dd262d0cade5e7bd22 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Mon, 25 Nov 2013 13:41:53 +0100 Subject: [PATCH] move udev rules from /etc to /usr/lib (#971851) --- gpsd.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gpsd.spec b/gpsd.spec index dc4d420..4156c92 100644 --- a/gpsd.spec +++ b/gpsd.spec @@ -124,9 +124,9 @@ DESTDIR=%{buildroot} scons install %{buildroot}%{_sysconfdir}/sysconfig/gpsd # udev rules -%{__install} -d -m 0755 %{buildroot}%{_sysconfdir}/udev/rules.d +%{__install} -d -m 0755 %{buildroot}%{_udevrulesdir} %{__install} -p -m 0644 gpsd.rules \ - %{buildroot}%{_sysconfdir}/udev/rules.d/99-gpsd.rules + %{buildroot}%{_udevrulesdir}/99-gpsd.rules # hotplug script %{__install} -d -m 0755 %{buildroot}%{_prefix}/lib/udev @@ -179,7 +179,6 @@ done %files %doc README COPYING %config(noreplace) %{_sysconfdir}/sysconfig/%{name} -%config(noreplace) %{_sysconfdir}/udev/rules.d/* %{_sbindir}/gpsd %{_sbindir}/gpsdctl %{_sbindir}/gpsinit @@ -187,6 +186,7 @@ done %{_bindir}/gpsmon %{_bindir}/gpsctl %{_unitdir}/gpsd.service +%{_udevrulesdir}/*.rules %{_prefix}/lib/udev/gpsd* %{_mandir}/man8/gpsd.8* %{_mandir}/man8/gpsdctl.8*