Configure udevhelper directory correctly.
This commit is contained in:
parent
2235cbbc47
commit
65688b69af
@ -1,7 +1,7 @@
|
|||||||
Summary: A printer administration tool
|
Summary: A printer administration tool
|
||||||
Name: system-config-printer
|
Name: system-config-printer
|
||||||
Version: 1.4.3
|
Version: 1.4.3
|
||||||
Release: 6%{?dist}
|
Release: 7%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://cyberelk.net/tim/software/system-config-printer/
|
URL: http://cyberelk.net/tim/software/system-config-printer/
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
@ -78,13 +78,14 @@ printers.
|
|||||||
%patch3 -p1 -b .smp-mflags
|
%patch3 -p1 -b .smp-mflags
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --with-udev-rules
|
%configure \
|
||||||
|
--with-udev-rules \
|
||||||
|
--udevrulesdir=%{_prefix}/lib/udev/rules.d \
|
||||||
|
--udevhelperdir=%{_prefix}/lib/udev
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=%buildroot install \
|
make DESTDIR=%buildroot install
|
||||||
udevrulesdir=%{_prefix}/lib/udev/rules.d \
|
|
||||||
udevhelperdir=%{_prefix}/lib/udev
|
|
||||||
|
|
||||||
%{__mkdir_p} %buildroot%{_localstatedir}/run/udev-configure-printer
|
%{__mkdir_p} %buildroot%{_localstatedir}/run/udev-configure-printer
|
||||||
touch %buildroot%{_localstatedir}/run/udev-configure-printer/usb-uris
|
touch %buildroot%{_localstatedir}/run/udev-configure-printer/usb-uris
|
||||||
@ -177,6 +178,9 @@ touch %buildroot%{_localstatedir}/run/udev-configure-printer/usb-uris
|
|||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Dec 6 2013 Tim Waugh <twaugh@redhat.com> 1.4.3-7
|
||||||
|
- Configure udevhelper directory correctly.
|
||||||
|
|
||||||
* Fri Dec 6 2013 Tim Waugh <twaugh@redhat.com> 1.4.3-6
|
* Fri Dec 6 2013 Tim Waugh <twaugh@redhat.com> 1.4.3-6
|
||||||
- Use _smp_mflags for consistency's sake (patch from upstream needed).
|
- Use _smp_mflags for consistency's sake (patch from upstream needed).
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user