[hplip/f16] udev rules in F16 need to go to /lib/ not /usr/lib/ (#861213)
Jiří Popelka
jpopelka at fedoraproject.org
Mon Oct 1 14:13:56 UTC 2012
commit 0efbd97ce297303e6c8c019e748c4e9769ff0469
Author: Jiri Popelka <jpopelka at redhat.com>
Date: Mon Oct 1 16:06:49 2012 +0200
udev rules in F16 need to go to /lib/ not /usr/lib/ (#861213)
hplip-udev-rules.patch | 2 +-
hplip.spec | 7 +++++--
2 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/hplip-udev-rules.patch b/hplip-udev-rules.patch
index d7e72cd..c8640e8 100644
--- a/hplip-udev-rules.patch
+++ b/hplip-udev-rules.patch
@@ -17,7 +17,7 @@ diff -up hplip-3.12.6/Makefile.in.udev-rules hplip-3.12.6/Makefile.in
# hpmud.rules
- at HPLIP_BUILD_TRUE@rulesdir = /etc/udev/rules.d
-+ at HPLIP_BUILD_TRUE@rulesdir = /usr/lib/udev/rules.d
++ at HPLIP_BUILD_TRUE@rulesdir = /lib/udev/rules.d
@HPLIP_BUILD_TRUE@@UDEV_SYSFS_RULES_FALSE at dist_rules_DATA = data/rules/56-hpmud_support.rules \
@HPLIP_BUILD_TRUE@@UDEV_SYSFS_RULES_FALSE@ data/rules/86-hpmud_plugin.rules \
@HPLIP_BUILD_TRUE@@UDEV_SYSFS_RULES_FALSE@ data/rules/56-hpmud_add_printer.rules \
diff --git a/hplip.spec b/hplip.spec
index c7d3a0c..c0a2dfb 100644
--- a/hplip.spec
+++ b/hplip.spec
@@ -1,7 +1,7 @@
Summary: HP Linux Imaging and Printing Project
Name: hplip
Version: 3.12.9
-Release: 4%{?dist}
+Release: 5%{?dist}
License: GPLv2+ and MIT
Group: System Environment/Daemons
@@ -467,7 +467,7 @@ rm -f %{buildroot}%{_sysconfdir}/xdg/autostart/hplip-systray.desktop
%files common
%doc COPYING
-%{_prefix}/lib/udev/rules.d/*.rules
+/lib/udev/rules.d/*.rules
%dir %{_sysconfdir}/hp
%config(noreplace) %{_sysconfdir}/hp/hplip.conf
%dir %{_datadir}/hplip
@@ -524,6 +524,9 @@ rm -f %{buildroot}%{_sysconfdir}/xdg/autostart/hplip-systray.desktop
%postun libs -p /sbin/ldconfig
%changelog
+* Mon Oct 01 2012 Jiri Popelka <jpopelka at redhat.com> 3.12.9-5
+- udev rules in F16 need to go to /lib/ not /usr/lib/ (#861213)
+
* Thu Sep 27 2012 Jiri Popelka <jpopelka at redhat.com> 3.12.9-4
- remove useless Conflicts:, Obsoletes: and Provides: fields
- remove %%pre section (stopping&disabling of hplip service on upgrade)
More information about the scm-commits
mailing list