Accepting request 138488 from openSUSE:Factory:Staging:Systemd
- Fix build with udev rules directory new location. OBS-URL: https://build.opensuse.org/request/show/138488 OBS-URL: https://build.opensuse.org/package/show/hardware/crda?expand=0&rev=20
This commit is contained in:
parent
9bea5caabb
commit
5f429da8e0
@ -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
|
Thu Sep 13 11:11:28 UTC 2012 - cfarrell@suse.com
|
||||||
|
|
||||||
|
11
crda.spec
11
crda.spec
@ -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
|
Url: http://linuxwireless.org/en/developers/Regulatory/CRDA
|
||||||
|
|
||||||
Name: crda
|
Name: crda
|
||||||
@ -47,7 +54,7 @@ through udev.
|
|||||||
make all_noverify %{?_smp_mflags}
|
make all_noverify %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=$RPM_BUILD_ROOT SBINDIR=%{_sbindir}/ install
|
make DESTDIR=$RPM_BUILD_ROOT SBINDIR=%{_sbindir}/ UDEV_RULE_DIR=%{_udevrulesdir} install
|
||||||
#UsrMerge
|
#UsrMerge
|
||||||
mkdir $RPM_BUILD_ROOT/sbin
|
mkdir $RPM_BUILD_ROOT/sbin
|
||||||
ln -sf %{_sbindir}/{crda,regdbdump} $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/crda
|
||||||
/sbin/regdbdump
|
/sbin/regdbdump
|
||||||
#EndUserMerge
|
#EndUserMerge
|
||||||
/lib/udev/rules.d/85-regulatory.rules
|
%{_udevrulesdir}/85-regulatory.rules
|
||||||
%{_mandir}/man8/crda.8.gz
|
%{_mandir}/man8/crda.8.gz
|
||||||
%{_mandir}/man8/regdbdump.8.gz
|
%{_mandir}/man8/regdbdump.8.gz
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user