From 0fafe133745a8ec35f39b89bafaf91224baed4ce 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/2] =?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 | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/libnet.spec b/libnet.spec index 892ba0c..1185835 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 URL: https://github.com/libnet/libnet/ @@ -19,12 +19,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 @@ -70,7 +72,10 @@ rm -f doc/html/Makefile* %doc %{_docdir}/* %changelog -* Wed Jun 05 2024 zhangpan - 1.2-3 +* 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 - delete redundant files * Wed Dec 27 2023 lvgenggeng - 1.2-2 -- Gitee From 4b0edb362ce78fe2af4424ba5993efb4702702ba 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:47 +0000 Subject: [PATCH 2/2] 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 1185835..840ec8e 100644 --- a/libnet.spec +++ b/libnet.spec @@ -23,6 +23,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