From 1442576622d8106e53f8098c1aaaed4da75074b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=AF=9B=E7=8E=89=E8=B4=A4?= Date: Mon, 19 Aug 2024 15:47:45 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E4=BF=AE=E6=94=B9spec=E6=96=87=E4=BB=B6?= =?UTF-8?q?=EF=BC=8C=E7=94=A8=E5=AE=8F%package=5Fhelp=E6=9B=BF=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libnet.spec | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/libnet.spec b/libnet.spec index d0b8e7d..d46c4d4 100644 --- a/libnet.spec +++ b/libnet.spec @@ -1,6 +1,6 @@ Name: libnet Version: 1.3 -Release: 2 +Release: 3 Summary: A C library to help with construction and handling of network packets License: BSD-2-Clause and BSD-3-Clause URL: https://github.com/libnet/libnet @@ -18,12 +18,14 @@ Requires: %{name}%{?_isa} = %{version}-%{release} %description devel This package contains libraries and header files. -%package help -Summary: Documentation files for the libnet library +#%package help +#Summary: Documentation files for the libnet library + +%package_help Requires: %{name}%{?_isa} = %{version}-%{release} -%description help -This package contains help documents. +#%description help +#This package contains help documents. %prep %autosetup -p1 @@ -71,6 +73,9 @@ rm -f doc/html/Makefile* %{_mandir}/man3/%{name}*.3* %changelog +* Mon Aug 19 2024 yuxian - 1.3-3 +- Replaced declaration of help subpakage with the 'libnet-help' macro. + * Wed Jun 05 2024 zhangpan - 1.3-2 - delete redundant files -- Gitee From 667804613969fc4cf8fe41d7f99b6328b546b894 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=AF=9B=E7=8E=89=E8=B4=A4?= Date: Mon, 19 Aug 2024 16:24:22 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E4=BF=AE=E6=94=B9spec=E6=96=87=E4=BB=B6?= =?UTF-8?q?=EF=BC=8C=E7=94=A8=E5=AE=8F%package=5Fhelp=E6=9B=BF=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libnet.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libnet.spec b/libnet.spec index d46c4d4..49af495 100644 --- a/libnet.spec +++ b/libnet.spec @@ -73,7 +73,7 @@ rm -f doc/html/Makefile* %{_mandir}/man3/%{name}*.3* %changelog -* Mon Aug 19 2024 yuxian - 1.3-3 +* Mon Aug 19 2024 yuxian Mao - 1.3-3 - Replaced declaration of help subpakage with the 'libnet-help' macro. * Wed Jun 05 2024 zhangpan - 1.3-2 -- Gitee From 5f696ef5f56922a92b8a1f0e03d3658307f1c6d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=AF=9B=E7=8E=89=E8=B4=A4?= Date: Wed, 21 Aug 2024 02:03:00 +0000 Subject: [PATCH 3/3] Replaced declaration of help subpakage with the 'libnet-help' macro. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 毛玉贤 --- libnet.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/libnet.spec b/libnet.spec index 49af495..cc832fe 100644 --- a/libnet.spec +++ b/libnet.spec @@ -22,6 +22,7 @@ This package contains libraries and header files. #Summary: Documentation files for the libnet library %package_help + Requires: %{name}%{?_isa} = %{version}-%{release} #%description help -- Gitee