From b382de593f41e1d0340f15c760653503994b02a5 Mon Sep 17 00:00:00 2001 From: Xuchun Shang Date: Wed, 8 Feb 2023 15:55:18 +0800 Subject: [PATCH] spec: add abi file Signed-off-by: Xuchun Shang --- debugedit.spec | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/debugedit.spec b/debugedit.spec index fd25bdf..69d7fbb 100644 --- a/debugedit.spec +++ b/debugedit.spec @@ -1,4 +1,5 @@ -%define anolis_release 2 +%define anolis_release 3 + Name: debugedit Version: 5.0 Release: %{anolis_release}%{?dist} @@ -7,7 +8,8 @@ License: GPLv3+ and GPLv2+ and LGPLv2+ URL: https://sourceware.org/debugedit/ Source0: https://sourceware.org/pub/debugedit/%{version}/%{name}-%{version}.tar.xz -BuildRequires: make gcc +BuildRequires: make +BuildRequires: gcc BuildRequires: pkgconfig(libelf) BuildRequires: pkgconfig(libdw) BuildRequires: help2man @@ -70,16 +72,22 @@ autoreconf -f -v -i cd %{buildroot}%{_bindir} ln -s find-debuginfo find-debuginfo.sh +%generate_compatibility_deps + %check # The testsuite should be zero fail. make check %{?_smp_mflags} %files +%dir %{abidir} %license COPYING COPYING3 COPYING.LIB %{_bindir}/debugedit %{_bindir}/sepdebugcrcfix %{_bindir}/find-debuginfo %{_bindir}/find-debuginfo.sh +%{abidir}/debugedit-option.list +%{abidir}/find-debuginfo-option.list +%{abidir}/sepdebugcrcfix-option.list %{_mandir}/man1/debugedit.1* %{_mandir}/man1/sepdebugcrcfix.1* %{_mandir}/man1/find-debuginfo.1* @@ -88,6 +96,9 @@ make check %{?_smp_mflags} %doc README %changelog +* Wed Feb 08 2023 Xuchun Shang - 5.0-3 +- Add abi file + * Sat Oct 08 2022 mgb01105731 - 5.0-2 - add doc package -- Gitee