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
Version: 4.14
Release: 3mamba
Release: 4mamba
Summary: The udev helper for communication between the kernel and userspace for regulatory compliance
Group: System/Kernel and Hardware
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://drvbp1.linux-foundation.org/~mcgrof/rel-html/crda/
#URL: http://linuxwireless.org/en/developers/Regulatory/CRDA
URL: https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/crda.git/
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
Patch1: crda-4.14-python3.patch
License: ISC License
@ -20,7 +17,6 @@ BuildRequires: libgcrypt-devel
BuildRequires: libnl-devel
## AUTOBUILDREQ-END
BuildRequires: python-M2Crypto-py3
BuildRequires: python-typing-py3
BuildRequires: python-pycryptodomex-py3
BuildRequires: wireless-regdb
Requires: wireless-regdb
@ -51,7 +47,7 @@ sed -i "s| python | %{__python3} |" Makefile
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
make install \
PREFIX=%{buildroot}%{_prefix} \
SBINDIR=%{buildroot}%{_sbindir} \
SBINDIR=%{buildroot}%{_sbindir}/ \
LIBDIR=%{buildroot}%{_libdir} \
INCLUDE_DIR=%{buildroot}%{_includedir}/reglib \
MANDIR=%{buildroot}%{_mandir} \
@ -79,6 +75,9 @@ sed -i "s|%{buildroot}||" %{buildroot}%{_udevrulesdir}/85-regulatory.rules
%{_includedir}/reglib/*.h
%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
- rebuilt under %_prefix