From 256adbba02c091265afc642de1fbc90faee4baee Mon Sep 17 00:00:00 2001 From: mgb01105731 Date: Sat, 8 Oct 2022 14:47:11 +0800 Subject: [PATCH] add doc package --- debugedit.spec | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/debugedit.spec b/debugedit.spec index e4dcda3..fd25bdf 100644 --- a/debugedit.spec +++ b/debugedit.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 Name: debugedit Version: 5.0 Release: %{anolis_release}%{?dist} @@ -48,6 +48,14 @@ It is based on code originally from the rpm project plus libiberty and binutils. It depends on the elfutils libelf and libdw libraries to read and write ELF files, DWARF data and build-ids. +%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 %autosetup -p1 @@ -68,7 +76,6 @@ make check %{?_smp_mflags} %files %license COPYING COPYING3 COPYING.LIB -%doc README %{_bindir}/debugedit %{_bindir}/sepdebugcrcfix %{_bindir}/find-debuginfo @@ -77,6 +84,12 @@ make check %{?_smp_mflags} %{_mandir}/man1/sepdebugcrcfix.1* %{_mandir}/man1/find-debuginfo.1* +%files doc +%doc README + %changelog +* Sat Oct 08 2022 mgb01105731 - 5.0-2 +- add doc package + * Fri May 20 2022 Chunmei Xu - 5.0-1 - init from upstream -- Gitee