[system-config-printer] Configure udevhelper directory correctly.
Tim Waugh
twaugh at fedoraproject.org
Fri Dec 6 15:39:03 UTC 2013
commit 65688b69afe907cc757ec26f1f7d8a3bcede46ba
Author: Tim Waugh <twaugh at redhat.com>
Date: Fri Dec 6 12:29:37 2013 +0000
Configure udevhelper directory correctly.
system-config-printer.spec | 14 +++++++++-----
1 files changed, 9 insertions(+), 5 deletions(-)
---
diff --git a/system-config-printer.spec b/system-config-printer.spec
index 10eb844..d632452 100644
--- a/system-config-printer.spec
+++ b/system-config-printer.spec
@@ -1,7 +1,7 @@
Summary: A printer administration tool
Name: system-config-printer
Version: 1.4.3
-Release: 6%{?dist}
+Release: 7%{?dist}
License: GPLv2+
URL: http://cyberelk.net/tim/software/system-config-printer/
Group: System Environment/Base
@@ -78,13 +78,14 @@ printers.
%patch3 -p1 -b .smp-mflags
%build
-%configure --with-udev-rules
+%configure \
+ --with-udev-rules \
+ --udevrulesdir=%{_prefix}/lib/udev/rules.d \
+ --udevhelperdir=%{_prefix}/lib/udev
make %{?_smp_mflags}
%install
-make DESTDIR=%buildroot install \
- udevrulesdir=%{_prefix}/lib/udev/rules.d \
- udevhelperdir=%{_prefix}/lib/udev
+make DESTDIR=%buildroot install
%{__mkdir_p} %buildroot%{_localstatedir}/run/udev-configure-printer
touch %buildroot%{_localstatedir}/run/udev-configure-printer/usb-uris
@@ -177,6 +178,9 @@ touch %buildroot%{_localstatedir}/run/udev-configure-printer/usb-uris
exit 0
%changelog
+* Fri Dec 6 2013 Tim Waugh <twaugh at redhat.com> 1.4.3-7
+- Configure udevhelper directory correctly.
+
* Fri Dec 6 2013 Tim Waugh <twaugh at redhat.com> 1.4.3-6
- Use _smp_mflags for consistency's sake (patch from upstream needed).
More information about the scm-commits
mailing list