From a3c4a49f7152fb9413d4ec6994d9e5fff46b48b0 Mon Sep 17 00:00:00 2001 From: li-miaomiao_zhr Date: Sat, 6 May 2023 16:10:28 +0800 Subject: [PATCH] bugfix without subdirectories of rt_tables.d and rt_protos.d --- 0001-modify-Makefie.patch | 25 +++++++++++++++++++++++++ iproute.spec | 9 ++++++++- 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 0001-modify-Makefie.patch diff --git a/0001-modify-Makefie.patch b/0001-modify-Makefie.patch new file mode 100644 index 0000000..0223cfd --- /dev/null +++ b/0001-modify-Makefie.patch @@ -0,0 +1,25 @@ +From bd70af94502f6b3a66d323ae2482959b663e30e2 Mon Sep 17 00:00:00 2001 +From: li-miaomiao_zhr +Date: Sat, 6 May 2023 16:04:36 +0800 +Subject: [PATCH] modify Makefie + +--- + Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile b/Makefile +index 8a17d61..671b217 100644 +--- a/Makefile ++++ b/Makefile +@@ -104,7 +104,7 @@ install: all + install -m 0755 -d $(DESTDIR)$(ARPDDIR) + install -m 0755 -d $(DESTDIR)$(HDRDIR) + @for i in $(SUBDIRS); do $(MAKE) -C $$i install; done +- install -m 0644 $(shell find etc/iproute2 -maxdepth 1 -type f) $(DESTDIR)$(CONFDIR) ++ install -m 0644 $(shell find /etc/iproute2 -maxdepth 1 -type f) $(DESTDIR)$(CONFDIR) + install -m 0755 -d $(DESTDIR)$(BASH_COMPDIR) + install -m 0644 bash-completion/tc $(DESTDIR)$(BASH_COMPDIR) + install -m 0644 bash-completion/devlink $(DESTDIR)$(BASH_COMPDIR) +-- +2.33.0 + diff --git a/iproute.spec b/iproute.spec index 7a6387e..624b0f2 100644 --- a/iproute.spec +++ b/iproute.spec @@ -2,7 +2,7 @@ Name: iproute Version: 6.1.0 Epoch: 1 -Release: 6 +Release: 7 Summary: Linux network configuration utilities License: GPLv2+ and Public Domain URL: https://kernel.org/pub/linux/utils/net/iproute2/ @@ -11,6 +11,7 @@ Source0: https://mirrors.edge.kernel.org/pub/linux/utils/net/iproute2/iproute2-% Patch1: bugfix-iproute2-3.10.0-fix-maddr-show.patch Patch2: bugfix-iproute2-change-proc-to-ipnetnsproc-which-is-private.patch Patch3: backport-testsuite-fix-testsuite-build-failure-when-iproute-b.patch +Patch4: 0001-modify-Makefie.patch Patch9000: feature-iproute-add-support-for-ipvlan-l2e-mode.patch Patch9001: bugfix-iproute2-cancel-some-test-cases.patch @@ -89,6 +90,12 @@ install -m 0644 lib/libnetlink.a %{buildroot}%{_libdir}/libnetlink.a %{_mandir}/* %changelog +* Sat May 6 2023 li-miaomiao_zhr - 1:6.1.0-7 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:bugfix without subdirectories of rt_tables.d and rt_protos.d + * Sat Feb 25 2023 jiangheng - 1:6.1.0-6 - Type:bugfix - ID:NA -- Gitee