diff --git a/cups-libusb.rules b/cups-libusb.rules deleted file mode 100644 index 2c29ed0..0000000 --- a/cups-libusb.rules +++ /dev/null @@ -1,6 +0,0 @@ -# Allow the lp group to read and write raw USB devices for printers. -# This is required for the CUPS usb backend when built with libusb -# support. -ACTION=="add", SUBSYSTEM=="usb", \ - ATTR{bInterfaceClass}=="07", ATTR{bInterfaceSubClass}=="01", \ - RUN+="/usr/bin/setfacl -m g:lp:rw /dev/%P" diff --git a/cups.spec b/cups.spec index 10319a8..af27937 100644 --- a/cups.spec +++ b/cups.spec @@ -15,14 +15,12 @@ Summary: Common Unix Printing System Name: cups Version: 1.5 -Release: 0.11.%{alphatag}%{?dist} +Release: 0.12.%{alphatag}%{?dist} License: GPLv2 Group: System Environment/Daemons Source: http://ftp.easysw.com/pub/cups/%{version}%{alphatag}/cups-%{version}%{alphatag}-source.tar.bz2 # Pixmap for desktop file Source2: cupsprinter.png -# udev rules for libusb devices -Source3: cups-libusb.rules # LSPP-required ps->pdf filter Source4: pstopdf # xinetd config file for cups-lpd service @@ -393,11 +391,6 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/icons extension=phpcups.so __EOF__ -# Install the udev rules. -%{__mkdir_p} %{buildroot}/lib/udev/rules.d -install -m644 %{SOURCE3} \ - %{buildroot}/lib/udev/rules.d/70-cups-libusb.rules - # install /etc/tmpfiles.d/cups.conf (bug #656566) mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/tmpfiles.d cat > ${RPM_BUILD_ROOT}%{_sysconfdir}/tmpfiles.d/cups.conf < 1:1.5-0.12.rc1 +- Removed udev rules file as it is no longer necessary. + * Tue Jul 5 2011 Tim Waugh 1:1.5-0.11.rc1 - Add support for systemd socket activation (patch from Lennart Poettering).