Accepting request 138663 from hardware

- Fix build with udev rules directory new location. (forwarded request 138488 from fcrozat)

OBS-URL: https://build.opensuse.org/request/show/138663
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/crda?expand=0&rev=19
This commit is contained in:
Stephan Kulow 2012-10-18 20:10:36 +00:00 committed by Git OBS Bridge
commit 52d2bf0508
2 changed files with 14 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Oct 17 11:19:13 UTC 2012 - fcrozat@suse.com
- Fix build with udev rules directory new location.
-------------------------------------------------------------------
Thu Sep 13 11:11:28 UTC 2012 - cfarrell@suse.com

View File

@ -16,6 +16,13 @@
#
%if %( echo `rpm -q --queryformat %%{version} udev` ) > 190
%define _udevrulesdir /usr/lib/udev/rules.d
%else
%define _udevrulesdir /lib/udev/rules.d
%endif
Url: http://linuxwireless.org/en/developers/Regulatory/CRDA
Name: crda
@ -47,7 +54,7 @@ through udev.
make all_noverify %{?_smp_mflags}
%install
make DESTDIR=$RPM_BUILD_ROOT SBINDIR=%{_sbindir}/ install
make DESTDIR=$RPM_BUILD_ROOT SBINDIR=%{_sbindir}/ UDEV_RULE_DIR=%{_udevrulesdir} install
#UsrMerge
mkdir $RPM_BUILD_ROOT/sbin
ln -sf %{_sbindir}/{crda,regdbdump} $RPM_BUILD_ROOT/sbin
@ -61,7 +68,7 @@ ln -sf %{_sbindir}/{crda,regdbdump} $RPM_BUILD_ROOT/sbin
/sbin/crda
/sbin/regdbdump
#EndUserMerge
/lib/udev/rules.d/85-regulatory.rules
%{_udevrulesdir}/85-regulatory.rules
%{_mandir}/man8/crda.8.gz
%{_mandir}/man8/regdbdump.8.gz