Summary: iw - utility to show or manipulate wireless devices and their configuration
Summary(pl.UTF-8): iw - narzędzie do wyświetlania i modyfikowania konfiguracji urządzeń bezprzewodowych
Name: iw
-Version: 0.9.21
+Version: 4.1
Release: 1
License: BSD
Group: Networking/Admin
-Source0: http://wireless.kernel.org/download/iw/%{name}-%{version}.tar.bz2
-# Source0-md5: 726db5f1fd6bc316434414770513ef81
+Source0: https://www.kernel.org/pub/software/network/iw/%{name}-%{version}.tar.xz
+# Source0-md5: 3a292dd342bb88e30e74015ae6fe1e54
URL: http://wireless.kernel.org/en/users/Documentation/iw
-BuildRequires: libnl-devel
+BuildRequires: libnl-devel >= 1:3.2
BuildRequires: pkgconfig
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _sbindir /sbin
%prep
%setup -q
+sed -i -e 's#git rev-parse#false#g' version.sh
+
%build
CC="%{__cc}" \
CFLAGS="%{rpmcflags} %{rpmcppflags}" \