Require systemd instead of udev.

This commit is contained in:
Jiri Popelka 2012-06-05 14:41:46 +02:00
parent c662cf66c8
commit bb41d6514d
2 changed files with 8 additions and 4 deletions

View File

@ -17,7 +17,7 @@ diff -up hplip-3.12.4/Makefile.in.udev-rules hplip-3.12.4/Makefile.in
# hpmud.rules
-@HPLIP_BUILD_TRUE@rulesdir = /etc/udev/rules.d
+@HPLIP_BUILD_TRUE@rulesdir = /lib/udev/rules.d
+@HPLIP_BUILD_TRUE@rulesdir = /usr/lib/udev/rules.d
@HPLIP_BUILD_TRUE@dist_rules_DATA = data/rules/56-hpmud_support.rules \
@HPLIP_BUILD_TRUE@ data/rules/86-hpmud_plugin.rules \
@HPLIP_BUILD_TRUE@ data/rules/56-hpmud_add_printer.rules \

View File

@ -1,7 +1,7 @@
Summary: HP Linux Imaging and Printing Project
Name: hplip
Version: 3.12.4
Release: 2%{?dist}
Release: 3%{?dist}
License: GPLv2+ and MIT
Group: System Environment/Daemons
Conflicts: system-config-printer < 0.6.132
@ -79,7 +79,8 @@ drivers for HP printers and multi-function peripherals.
Summary: Files needed by the HPLIP printer and scanner drivers
Group: System Environment/Libraries
License: GPLv2+
Requires: udev
# /usr/lib/udev/rules.d
Requires: systemd
%description common
Files needed by the HPLIP printer and scanner drivers.
@ -463,7 +464,7 @@ rm -f %{buildroot}%{_sysconfdir}/xdg/autostart/hplip-systray.desktop
%files common
%doc COPYING
/lib/udev/rules.d/*.rules
%{_prefix}/lib/udev/rules.d/*.rules
%dir %{_sysconfdir}/hp
%config(noreplace) %{_sysconfdir}/hp/hplip.conf
%dir %{_datadir}/hplip
@ -527,6 +528,9 @@ fi
%postun libs -p /sbin/ldconfig
%changelog
* Tue Jun 05 2012 Jiri Popelka <jpopelka@redhat.com> 3.12.4-3
- Require systemd instead of udev.
* Mon Apr 30 2012 Tim Waugh <twaugh@redhat.com> 3.12.4-2
- The hpijs sub-package no longer requires cupsddk-drivers (which no
longer exists as a real package), but cups >= 1.4.