From cb1213561be99885cfe6d2e2bc4f4f7b3f65c185 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:56:28 +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 6d9e1ea..1b0bd46 100644 --- a/libnet.spec +++ b/libnet.spec @@ -1,6 +1,6 @@ Name: libnet Version: 1.2 -Release: 3 +Release: 4 Summary: A C library to help with construction and handling of network packets License: BSD-2-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: help files are included in this package +#%package help +#Summary: help files are included in this package + +%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.2-4 +- Replaced declaration of help subpakage with the 'libnet-help' macro. + * Wed Jun 05 2024 zhangpan - 1.2-3 - delete redundant files -- Gitee From 7bc1db4d2914f84f4bdcc1ec7bec4adbff3b1a64 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:10:31 +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 1b0bd46..b88c770 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.2-4 +* Mon Aug 19 2024 yuxian Mao - 1.2-4 - Replaced declaration of help subpakage with the 'libnet-help' macro. * Wed Jun 05 2024 zhangpan - 1.2-3 -- Gitee From ef542572e45d926c992fb7752fe8ed57100d5b9a 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:05:14 +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 b88c770..d430ec9 100644 --- a/libnet.spec +++ b/libnet.spec @@ -22,6 +22,7 @@ This package contains libraries and header files. #Summary: help files are included in this package %package_help + Requires: %{name}%{?_isa} = %{version}-%{release} #%description help -- Gitee