###############################################################################
name = iproute2
-version = 4.12.0
+version = 4.15.0
release = 1
groups = Networking/Tools
-url = http://www.linuxfoundation.org/en/Net:Iproute2
+url = https://git.kernel.org/pub/scm/network/iproute2/iproute2.git
license = GPLv2+
summary = Advanced IP routing and network device configuration tools.
capabilities of the Linux 2.4.x and 2.6.x kernel.
end
-source_dl = http://kernel.org/pub/linux/utils/net/iproute2/
+source_dl = https://kernel.org/pub/linux/utils/net/iproute2/
sources = %{thisapp}.tar.xz
build
linux-atm-devel >= 2.5.1
end
- prepare_cmds
- sed -e "s/^LIBDIR=/LIBDIR?=/" -i Makefile
- end
-
export RPM_OPT_FLAGS = %{CFLAGS} %{LDFLAGS}
export LIBDIR = %{libdir}
export SBINDIR = %{sbindir}
install -v -m 644 lib/libnetlink.a %{BUILDROOT}%{libdir}
end
- # Keep libnetlink.a.
+ # Keep libnetlink.a
keep_libraries
%{libdir}/libnetlink.a
end