From 07c55dd7b4dde9e2dda333821c4e92310be3cfe2 Mon Sep 17 00:00:00 2001 From: mgb01105731 Date: Thu, 29 Sep 2022 11:48:43 +0800 Subject: [PATCH] add doc package --- libunwind.spec | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/libunwind.spec b/libunwind.spec index 0fbd90d..6dae0ab 100644 --- a/libunwind.spec +++ b/libunwind.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 Summary: An unwinding library Name: libunwind Version: 1.6.2 @@ -18,6 +18,14 @@ BuildRequires: make %description Libunwind provides a C ABI to determine the call-chain of a program. +%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 devel Summary: Development package for libunwind Requires: libunwind = %{version}-%{release} @@ -67,9 +75,11 @@ echo ====================TESTSUITE DISABLED========================= %files %license COPYING -%doc README NEWS %{_libdir}/libunwind*.so.* +%files doc +%doc README NEWS + %files devel %{_libdir}/libunwind*.so %{_libdir}/libunwind-ptrace.a @@ -80,6 +90,9 @@ echo ====================TESTSUITE DISABLED========================= %{_includedir}/libunwind*.h %changelog +* Thu Sep 29 2022 mgb01105731 - 1.6.2-2 +- add doc package + * Thu Apr 07 2022 mgb01105731 - 1.6.2-1 - Init from upstream version 1.6.2 -- Gitee