diff --git a/crda.spec b/crda.spec index e9288fc..66d3aed 100644 --- a/crda.spec +++ b/crda.spec @@ -87,6 +87,8 @@ cp LICENSE LICENSE.crda cp README README.crda make install DESTDIR=%{buildroot} MANDIR=%{_mandir}/ \ SBINDIR=%{_sbindir}/ LIBDIR=%{_libdir}/ +mkdir -p %{buildroot}/%{_udevrulesdir} +mv %{buildroot}/lib/udev/rules.d/* %{buildroot}/%{_udevrulesdir} cd ../wireless-regdb-%{regdb_version} cp LICENSE LICENSE.wireless-regdb @@ -107,7 +109,7 @@ install -D -pm 0644 %SOURCE3 %{buildroot}%{_mandir}/man1/setregdomain.1 %{_sbindir}/regdbdump %{_sbindir}/setregdomain %{_libdir}/libreg.so -/lib/udev/rules.d/85-regulatory.rules +%{_udevrulesdir}/85-regulatory.rules # location of database is hardcoded to /usr/lib/%%{name} /usr/lib/%{name} %{_firmwarepath}/regulatory.db @@ -134,6 +136,7 @@ install -D -pm 0644 %SOURCE3 %{buildroot}%{_mandir}/man1/setregdomain.1 * Mon Apr 30 2018 John W. Linville - 3.18_2017.12.23-1 - Update wireless-regdb to version 2017.12.23 - Install regulatory.db into firmware directory for loading by kernel itself +- Use macro for accessing udev rules directory * Thu Mar 15 2018 Iryna Shcherbina - 3.18_2016.02.08-8 - Update Python 2 dependency declarations to new packaging standards