From c58587c5be2a5b4516e9e4e156971f17a9817bdd Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Thu, 14 Jan 2010 12:39:26 +0000 Subject: [PATCH] - Install udev rules in correct place (bug #530378). --- cups.spec | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/cups.spec b/cups.spec index ad60285..9e37a63 100644 --- a/cups.spec +++ b/cups.spec @@ -370,9 +370,9 @@ extension=phpcups.so __EOF__ # Install the udev rules. -%{__mkdir_p} %{buildroot}%{_sysconfdir}/udev/rules.d +%{__mkdir_p} %{buildroot}/lib/udev/rules.d install -m644 %{SOURCE3} \ - %{buildroot}%{_sysconfdir}/udev/rules.d/70-cups-libusb.rules + %{buildroot}/lib/udev/rules.d/70-cups-libusb.rules %post /sbin/chkconfig --del cupsd 2>/dev/null || true # Make sure old versions aren't there anymore @@ -434,7 +434,7 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc LICENSE.txt README.txt CREDITS.txt CHANGES.txt -%{_sysconfdir}/udev/rules.d/70-cups-libusb.rules +/lib/udev/rules.d/70-cups-libusb.rules %dir %attr(0755,root,lp) %{_sysconfdir}/cups %dir %attr(0755,root,lp) /var/run/cups %dir %attr(0511,lp,sys) /var/run/cups/certs @@ -545,6 +545,7 @@ rm -rf $RPM_BUILD_ROOT %changelog * Thu Jan 14 2010 Tim Waugh - 1:1.4.2-24 +- Install udev rules in correct place (bug #530378). - Don't mark initscript as config file. * Wed Jan 13 2010 Tim Waugh - 1:1.4.2-23