From 6a7ee7da0b91ae03f2024b3e3f444064d2d4e740 Mon Sep 17 00:00:00 2001 From: sherlock2010 <15151851377@163.com> Date: Thu, 24 Sep 2020 20:51:59 +0800 Subject: [PATCH] fix get_tc_lib err --- iproute.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/iproute.spec b/iproute.spec index 8eae4c2..1699fb1 100644 --- a/iproute.spec +++ b/iproute.spec @@ -1,6 +1,6 @@ Name: iproute Version: 5.7.0 -Release: 1 +Release: 2 Summary: Linux network configuration utilities License: GPLv2+ and Public Domain URL: https://kernel.org/pub/linux/utils/net/iproute2/ @@ -37,6 +37,8 @@ Header files for iprout2 %autosetup -n %{name}2-%{version} -p1 -S git %build +export LIBDIR='{_libdir}' +export IPT_LIB_DIR='/%{_lib}/xtables' %configure %make_build @@ -73,6 +75,12 @@ install -m 0644 lib/libnetlink.a %{buildroot}%{_libdir}/libnetlink.a %{_mandir}/* %changelog +* Tue Sep 24 2020 zhouyihang - 5.7.0-2 +- Type:bugfix +- Id:NA +- SUG:NA +- DESC:fix get_tc_lib err + * Wed Jul 22 2020 hanzhijun - 5.7.0-1 - update to 5.7.0