From 20274579cc54cf8e996250f8f77b377da1b41df0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B2=88=E4=BB=B2=E4=BC=9F?= Date: Thu, 5 Dec 2024 17:37:29 +0800 Subject: [PATCH] Fix error version show --- Fix-error-version-show.patch | 22 ++++++++++++++++++++++ lldpad.spec | 10 +++++++++- 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 Fix-error-version-show.patch diff --git a/Fix-error-version-show.patch b/Fix-error-version-show.patch new file mode 100644 index 0000000..863769a --- /dev/null +++ b/Fix-error-version-show.patch @@ -0,0 +1,22 @@ +From 87553e3c5561a2eab4abaa2851f0738d8088fdda Mon Sep 17 00:00:00 2001 +From: shenzhongwei +Date: Thu, 5 Dec 2024 15:30:13 +0800 +Subject: [PATCH] test + +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index 8515fd9..a180ed5 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -1,4 +1,4 @@ +-AC_INIT([lldpad], [1.2.99], [lldp-devel@open-lldp.org]) ++AC_INIT([lldpad], [1.1.0], [lldp-devel@open-lldp.org]) + AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects]) + + m4_pattern_allow([AM_PROG_AR]) +-- +2.27.0 + diff --git a/lldpad.spec b/lldpad.spec index 46e8d20..99a4674 100644 --- a/lldpad.spec +++ b/lldpad.spec @@ -4,7 +4,7 @@ Name: lldpad Version: 1.1 -Release: 4 +Release: 5 Summary: Intel LLDP Agent License: GPLv2 URL: https://www.open-lldp.org @@ -17,6 +17,8 @@ Patch4: backport-macvtap-fix-error-condition.patch Patch5: backport-vdp22-convert-command-parsing-to-null-term.patch Patch6: backport-lldptool-fix-null-pointer-deference.patch +Patch9001: Fix-error-version-show.patch + BuildRequires: automake autoconf libtool flex kernel-headers libconfig-devel BuildRequires: libnl3-devel readline-devel systemd @@ -90,6 +92,12 @@ make check %{_mandir}/man*/* %changelog +* Thu Dec 05 2024 shenzhongwei - 1.1-5 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC: fix error version of -v + * Tue Nov 01 2022 gaihuiying - 1.1-4 - Type:bugfix - CVE:NA -- Gitee