From 65688b69afe907cc757ec26f1f7d8a3bcede46ba Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Fri, 6 Dec 2013 12:29:37 +0000 Subject: [PATCH] Configure udevhelper directory correctly. --- system-config-printer.spec | 14 +++++++++----- 1 file 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 1.4.3-7 +- Configure udevhelper directory correctly. + * Fri Dec 6 2013 Tim Waugh 1.4.3-6 - Use _smp_mflags for consistency's sake (patch from upstream needed).