From cf589813d1f890f66c40d04a77a4586e9f247f6c Mon Sep 17 00:00:00 2001 From: mgb01105731 Date: Thu, 29 Sep 2022 15:14:54 +0800 Subject: [PATCH] add doc package --- npth.spec | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/npth.spec b/npth.spec index 82e7959..187e177 100644 --- a/npth.spec +++ b/npth.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 Name: npth Version: 1.6 @@ -23,12 +23,20 @@ the use of libraries which are not compatible to GNU Pth. %package devel Summary: Development files for %{name} -Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: %{name} = %{version}-%{release} %description devel This package contains libraries and header files for developing applications that use %{name}. +%package doc +Summary: Documentation files for %{name} +Requires: %{name}-devel = %{version}-%{release} +BuildArch: noarch + +%description doc +The %{name}-doc package contains documentation files for %{name}. + %prep %autosetup @@ -51,13 +59,18 @@ make check %{_libdir}/lib%{name}.so.* %files devel -%doc AUTHORS ChangeLog NEWS README %{_bindir}/%{name}-config %{_libdir}/lib%{name}.so %{_includedir}/%{name}.h %{_mandir}/man1/%{name}-config.1* %{_datadir}/aclocal/%{name}.m4 +%files doc +%doc AUTHORS ChangeLog NEWS README + %changelog +* Thu Sep 29 2022 mgb01105731 - 1.6-2 +- add doc package + * Tue Mar 08 2022 Renbo - 1.6-1 - Init for Anolis OS 23 -- Gitee