diff --git a/libteam-fix-error-options-in-doc.patch b/libteam-fix-error-options-in-doc.patch new file mode 100644 index 0000000000000000000000000000000000000000..758a1cc1b23b462df758674e7df1dd55240b5d53 --- /dev/null +++ b/libteam-fix-error-options-in-doc.patch @@ -0,0 +1,34 @@ +From ce8bc85cbca8abe4928c25d2eb8e302e0577308f Mon Sep 17 00:00:00 2001 +From: yixiangzhike +Date: Thu, 8 Sep 2022 19:30:36 +0800 +Subject: [PATCH] fix error options in doc + +--- + man/teamd.8 | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/man/teamd.8 b/man/teamd.8 +index 3d27eae..59ddbfc 100644 +--- a/man/teamd.8 ++++ b/man/teamd.8 +@@ -31,7 +31,7 @@ teamd \(em team network device control daemon + .IR address ] + .br + .B teamd +-.BR \-h | \-V ++.BR \-h | \-v + .SH DESCRIPTION + .PP + teamd is a daemon to control a given team network device, during runtime, +@@ -44,7 +44,7 @@ libteam project. + .B "\-h, \-\-help" + Print help text to console and exit. + .TP +-.B "\-V, \-\-version" ++.B "\-v, \-\-version" + Print version information to console and exit. + .TP + .B "\-d, \-\-daemonize" +-- +2.27.0 + diff --git a/libteam.spec b/libteam.spec index 3bfb3da005b9093d3a05989f6a728bba50466d2f..eb661484917bc3894896daec2d77590ea8d587f2 100644 --- a/libteam.spec +++ b/libteam.spec @@ -1,11 +1,13 @@ Name: libteam Version: 1.30 -Release: 1 +Release: 2 Summary: User-space counterpart library for team network License: LGPLv2+ URL: http://www.libteam.org Source: http://www.libteam.org/files/libteam-%{version}.tar.gz +Patch0: libteam-fix-error-options-in-doc.patch + BuildRequires: gcc jansson-devel libdaemon-devel libnl3-devel BuildRequires: swig python2-devel dbus-devel systemd doxygen @@ -136,6 +138,9 @@ popd %{_mandir}/man8/teamnl.8* %changelog +* Fri Sep 9 2022 yixiangzhike - 1.30-2 +- fix error options in doc + * Tue Aug 04 2020 shanzhikun - 1.30-1 - upgrade libteam to 1.30.