diff --git a/binutils.spec b/binutils.spec index b665facbc259aea81226678818f8c67caac87759..0b66237d05dc112e435a0074ace523e960b83f02 100644 --- a/binutils.spec +++ b/binutils.spec @@ -2,7 +2,7 @@ Summary: A GNU collection of binary utilities Name: binutils%{?_with_debug:-debug} Version: 2.40 -Release: 2 +Release: 3 License: GPL-3.0-or-later URL: https://sourceware.org/binutils @@ -1111,6 +1111,11 @@ EOF cat gold.lang >> binutils.lang 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 } @@ -1235,7 +1240,7 @@ exit 0 %{_infodir}/binutils.info.* %{_infodir}/ld.info.* %{_infodir}/bfd.info.* -%{_infodir}/ctf-spec.info.* +%{_infodir}/ctf-spec*.info.* %{_infodir}/gprof.info.* %{_infodir}/sframe-spec.info.* @@ -1310,6 +1315,9 @@ exit 0 #---------------------------------------------------------------------------- %changelog +* Tue Aug 29 2023 eastb233 - 2.40-3 +- Rename ctf-spec.info in binutils package because gdb-help package also provides it + * Tue Aug 08 2023 eastb233 - 2.40-2 - In X86, change -fpic to -fPIC in PICFLAG