make it successfully to find debugedit when running /usr/lib/rpm/find-debuginfo.sh

This commit is contained in:
renxichen 2022-11-08 11:32:58 +08:00
parent 8471d4757d
commit b60fe25026

View File

@ -1,6 +1,6 @@
Name: debugedit
Version: 5.0
Release: 3
Release: 4
Summary: Tools for debuginfo creation
License: GPL-2.0-or-later and LGPL-2.1-only and GPL-3.0-only
Group: Applications
@ -42,6 +42,8 @@ ln -s find-debuginfo find-debuginfo.sh
cd %{buildroot}
mkdir -p %{buildroot}%{_rpmconfigdir}
ln -s %{_bindir}/find-debuginfo %{buildroot}%{_rpmconfigdir}/find-debuginfo.sh
ln -s %{_bindir}/debugedit %{buildroot}%{_rpmconfigdir}/debugedit
%check
sed -i 's/^\(C\|LD\)FLAGS=.*/\1FLAGS=""/' tests/atlocal
make check %{?_smp_mflags}
@ -59,8 +61,12 @@ make check %{?_smp_mflags}
%{_mandir}/man1/sepdebugcrcfix.1*
%{_mandir}/man1/find-debuginfo.1*
%{_rpmconfigdir}/find-debuginfo.sh
%{_rpmconfigdir}/debugedit
%changelog
* Tue Nov 08 2022 renhongxun <renhongxun@h-partners.com> 5.0-4
- make it successfully to find debugedit when running /usr/lib/rpm/find-debuginfo.sh
* Fri Oct 21 2022 renhongxun <renhongxun@h-partners.com> 5.0-3
- fix -u option