diff --git a/debugedit.spec b/debugedit.spec index e4dcda3690275e4dc30facf82abf132a4ea8b8f8..fd25bdf57481df5a27fa3d17c7e9c1eabd39182b 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