From 094c7ebbdabba4be9ac8a836f8c39d9a98bf9320 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 19:28:05 +0100 Subject: [PATCH] remove bin/iwlist symlink [release 30.pre9-2mamba;Tue Jul 11 2023] --- wireless_tools.spec | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/wireless_tools.spec b/wireless_tools.spec index 5970e75..dd2c29f 100644 --- a/wireless_tools.spec +++ b/wireless_tools.spec @@ -1,19 +1,21 @@ %define majver %(echo %version | cut -d. -f1) Name: wireless_tools Version: 30.pre9 -Release: 1mamba +Release: 2mamba Summary: A set of tools allowing to manipulate the Wireless Extensions Group: System/Kernel and Hardware Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco -URL: http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html +URL: https://hewlettpackard.github.io/wireless-tools/Tools.html Source0: http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/wireless_tools.%{version}.tar.gz Source1: wireless_tools-ifrename_iftab Patch0: %{name}-29-iwlib_h_fix.patch License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +## AUTOBUILDREQ-END Requires: libiw = %{?epoch:%epoch:}%{version}-%{release} -BuildRoot: %{_tmppath}/%{name}-%{version}-root %description A set of tools and a library allowing to manipulate the Wireless Extensions. @@ -32,7 +34,7 @@ Requires: libiw = %{?epoch:%epoch:}%{version}-%{release} %description -n libiw-devel A set of tools and a library allowing to manipulate the Wireless Extensions. -This package contains static libraries and header files need for development. +This package contains static libraries and header files needed for development. %package -n ifrename Summary: A tool allowing you to assign a consistent name to each of your network interface @@ -41,10 +43,12 @@ Group: System/Tools %description -n ifrename Ifrename is a tool allowing you to assign a consistent name to each of your network interface. +%debug_package + %prep %setup -q -n wireless_tools.%{majver} sed -i "s|\(BUILD_STATIC = y\)|#\1|" Makefile -%patch0 -p1 +%patch 0 -p1 %build %make \ @@ -58,8 +62,8 @@ sed -i "s|\(BUILD_STATIC = y\)|#\1|" Makefile INSTALL_LIB=%{buildroot}%{_libdir} \ INSTALL_MAN=%{buildroot}%{_mandir} -install -d %{buildroot}%{_bindir} -ln -s ../sbin/iwlist %{buildroot}%{_bindir}/iwlist +#install -d %{buildroot}%{_bindir} +#ln -s ../sbin/iwlist %{buildroot}%{_bindir}/iwlist install -D -m 0644 %{S:1} %{buildroot}%{_sysconfdir}/iftab %clean @@ -76,7 +80,6 @@ install -D -m 0644 %{S:1} %{buildroot}%{_sysconfdir}/iftab %{_sbindir}/iwlist %{_sbindir}/iwpriv %{_sbindir}/iwspy -%{_bindir}/iwlist %{_mandir}/man7/wireless.* %{_mandir}/man8/iwconfig.* %{_mandir}/man8/iwevent.* @@ -105,6 +108,9 @@ install -D -m 0644 %{S:1} %{buildroot}%{_sysconfdir}/iftab %{_mandir}/man8/ifrename.* %changelog +* Tue Jul 11 2023 Silvan Calarco 30.pre9-2mamba +- remove bin/iwlist symlink + * Thu Sep 18 2014 Silvan Calarco 30.pre9-1mamba - update to 30.pre9