From 80bfd77e3beab66451930d88369d833862c12d8a Mon Sep 17 00:00:00 2001 From: mgb01105731 Date: Thu, 29 Sep 2022 11:26:12 +0800 Subject: [PATCH] add doc package --- gdisk.spec | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/gdisk.spec b/gdisk.spec index d2e1116..41b7f73 100644 --- a/gdisk.spec +++ b/gdisk.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 Name: gdisk Version: 1.0.8 @@ -23,6 +23,14 @@ but used for modifying GUID Partition Table (GPT) disks. The related FixParts utility fixes some common problems on Master Boot Record (MBR) disks. +%package doc +Summary: Documentation files for %{name} +Requires: %{name} = %{version}-%{release} +BuildArch: noarch + +%description doc +The %{name}-doc package contains documentation files for %{name}. + %prep %setup -q -n gptfdisk-%{version} @@ -37,10 +45,15 @@ done %files %license COPYING -%doc NEWS README %{_sbindir}/* %{_mandir}/man8/* +%files doc +%doc NEWS README + %changelog +* Thu Sep 29 2022 mgb01105731 - 1.0.8-2 +- add doc package + * Fri Mar 11 2022 Su Lifan - 1.0.8-1 - Initial packaging for Anolis OS 23 -- Gitee