!213 [SPEC] Rename ctf-spec.info in binutils package

From: @eastb233 
Reviewed-by: @li-yancheng 
Signed-off-by: @li-yancheng
This commit is contained in:
openeuler-ci-bot 2023-08-29 11:07:20 +00:00 committed by Gitee
commit ad394ac8e1
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -2,7 +2,7 @@
Summary: A GNU collection of binary utilities Summary: A GNU collection of binary utilities
Name: binutils%{?_with_debug:-debug} Name: binutils%{?_with_debug:-debug}
Version: 2.40 Version: 2.40
Release: 2 Release: 3
License: GPL-3.0-or-later License: GPL-3.0-or-later
URL: https://sourceware.org/binutils URL: https://sourceware.org/binutils
@ -1111,6 +1111,11 @@ EOF
cat gold.lang >> binutils.lang cat gold.lang >> binutils.lang
fi fi
if [ -f $local_infodir/ctf-spec.info ]; then
# Rename ctf-spec.info because gdb-help package also provides it
mv $local_infodir/ctf-spec.info $local_infodir/ctf-spec-%{version}.info
fi
popd popd
} }
@ -1235,7 +1240,7 @@ exit 0
%{_infodir}/binutils.info.* %{_infodir}/binutils.info.*
%{_infodir}/ld.info.* %{_infodir}/ld.info.*
%{_infodir}/bfd.info.* %{_infodir}/bfd.info.*
%{_infodir}/ctf-spec.info.* %{_infodir}/ctf-spec*.info.*
%{_infodir}/gprof.info.* %{_infodir}/gprof.info.*
%{_infodir}/sframe-spec.info.* %{_infodir}/sframe-spec.info.*
@ -1310,6 +1315,9 @@ exit 0
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
%changelog %changelog
* Tue Aug 29 2023 eastb233 <xiezhiheng@huawei.com> - 2.40-3
- Rename ctf-spec.info in binutils package because gdb-help package also provides it
* Tue Aug 08 2023 eastb233 <xiezhiheng@huawei.com> - 2.40-2 * Tue Aug 08 2023 eastb233 <xiezhiheng@huawei.com> - 2.40-2
- In X86, change -fpic to -fPIC in PICFLAG - In X86, change -fpic to -fPIC in PICFLAG