fix for missing backslash after %_sbindir in udev rules file [release 4.14-4mamba;Tue Oct 26 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 21:33:39 +01:00
parent 5f0812a435
commit 95f7719a83

View File

@ -1,16 +1,13 @@
Name: crda Name: crda
Version: 4.14 Version: 4.14
Release: 3mamba Release: 4mamba
Summary: The udev helper for communication between the kernel and userspace for regulatory compliance Summary: The udev helper for communication between the kernel and userspace for regulatory compliance
Group: System/Kernel and Hardware Group: System/Kernel and Hardware
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://drvbp1.linux-foundation.org/~mcgrof/rel-html/crda/ URL: https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/crda.git/
#URL: http://linuxwireless.org/en/developers/Regulatory/CRDA
Source: https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/crda.git/v%{version}/crda-%{version}.tar.bz2 Source: https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/crda.git/v%{version}/crda-%{version}.tar.bz2
#Source: http://kernel.org/pub/software/network/crda/crda-%{version}.tar.xz
#Source: http://linuxwireless.org/download/crda/crda-%{version}.tar.bz2
Patch0: %{name}-1.1.2-libnl-3.patch Patch0: %{name}-1.1.2-libnl-3.patch
Patch1: crda-4.14-python3.patch Patch1: crda-4.14-python3.patch
License: ISC License License: ISC License
@ -20,7 +17,6 @@ BuildRequires: libgcrypt-devel
BuildRequires: libnl-devel BuildRequires: libnl-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: python-M2Crypto-py3 BuildRequires: python-M2Crypto-py3
BuildRequires: python-typing-py3
BuildRequires: python-pycryptodomex-py3 BuildRequires: python-pycryptodomex-py3
BuildRequires: wireless-regdb BuildRequires: wireless-regdb
Requires: wireless-regdb Requires: wireless-regdb
@ -51,7 +47,7 @@ sed -i "s| python | %{__python3} |" Makefile
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
make install \ make install \
PREFIX=%{buildroot}%{_prefix} \ PREFIX=%{buildroot}%{_prefix} \
SBINDIR=%{buildroot}%{_sbindir} \ SBINDIR=%{buildroot}%{_sbindir}/ \
LIBDIR=%{buildroot}%{_libdir} \ LIBDIR=%{buildroot}%{_libdir} \
INCLUDE_DIR=%{buildroot}%{_includedir}/reglib \ INCLUDE_DIR=%{buildroot}%{_includedir}/reglib \
MANDIR=%{buildroot}%{_mandir} \ MANDIR=%{buildroot}%{_mandir} \
@ -79,6 +75,9 @@ sed -i "s|%{buildroot}||" %{buildroot}%{_udevrulesdir}/85-regulatory.rules
%{_includedir}/reglib/*.h %{_includedir}/reglib/*.h
%changelog %changelog
* Tue Oct 26 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 4.14-4mamba
- fix for missing backslash after %_sbindir in udev rules file
* Mon Mar 08 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 4.14-3mamba * Mon Mar 08 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 4.14-3mamba
- rebuilt under %_prefix - rebuilt under %_prefix