From 00e29698e891f12671d112bafe593c2cd38b2eaa Mon Sep 17 00:00:00 2001 From: mgb01105731 Date: Sun, 9 Oct 2022 17:31:26 +0800 Subject: [PATCH] add doc package --- numactl.spec | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/numactl.spec b/numactl.spec index 5b8b362..60fb5db 100644 --- a/numactl.spec +++ b/numactl.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 Name: numactl Summary: Library for tuning for Non Uniform Memory Access machines @@ -14,6 +14,14 @@ BuildRequires: libtool automake autoconf Simple NUMA policy support. It consists of a numactl program to run other programs with a specific NUMA policy. +%package doc +Summary: Documentation files for %{name} +Requires: %{name} = %{version}-%{release} +BuildArch: noarch + +%description doc +The %{name}-doc package contains documentation files for %{name}. + %package libs Summary: libnuma libraries License: LGPLv2 and GPLv2 @@ -47,7 +55,6 @@ rm -rf $RPM_BUILD_ROOT %ldconfig_scriptlets libs %files -%doc README.md %{_bindir}/numactl %{_bindir}/numademo %{_bindir}/numastat @@ -57,6 +64,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man8/*.8* %exclude %{_mandir}/man2/*.2* +%files doc +%doc README.md + %files libs %{_libdir}/libnuma.so.1.0.0 %{_libdir}/libnuma.so.1 @@ -72,6 +82,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3/*.3* %changelog +* Sun Oct 09 2022 mgb01105731 - 2.0.14-2 +- add doc package + * Tue Mar 08 2022 liuzhilin - 2.0.14-1 - Init for Anolis OS 23 -- Gitee