add binutils-help to keep consistent with the old version

This commit is contained in:
h30032433 2024-09-10 10:02:13 +08:00
parent 07537e47f6
commit 416b50b637

View File

@ -2,7 +2,7 @@
Summary: A GNU collection of binary utilities
Name: binutils%{?_with_debug:-debug}
Version: 2.41
Release: 8
Release: 9
License: GPL-3.0-or-later AND (GPL-3.0-or-later WITH Bison-exception-2.2) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND BSD-3-Clause AND GFDL-1.3-or-later AND GPL-2.0-or-later AND LGPL-2.1-or-later AND LGPL-2.0-or-later
URL: https://sourceware.org/binutils
@ -368,6 +368,16 @@ using libelf instead of BFD.
#----------------------------------------------------------------------------
%if %{with docs}
%package help
Summary: Manual and information files
%description help
This package contains binutils manual and information files.
%endif
#----------------------------------------------------------------------------
%if %{with gprofng}
%package gprofng
@ -1152,24 +1162,6 @@ exit 0
%exclude %dir %{_exec_prefix}/lib/debug
%if %{with docs}
%{_mandir}/man1/
%exclude %{_mandir}/man1/gp-*
%exclude %{_mandir}/man1/gprofng*
%{_infodir}/as.info.*
%{_infodir}/binutils.info.*
%{_infodir}/ld.info.*
%{_infodir}/ldint.info.*
%{_infodir}/bfd.info.*
%{_infodir}/ctf-spec*.info.*
%{_infodir}/gprof.info.*
%{_infodir}/sframe-spec.info.*
%if %{with gprofng}
%exclude %{_infodir}/gprofng*
%endif
%endif
%if %{enable_shared}
%{_libdir}/lib*.so
%{_libdir}/lib*.so.*
@ -1196,13 +1188,26 @@ exit 0
%exclude %{_libdir}/lib*.la
%endif
%if %{with docs}
%files help
%{_mandir}/man1/*
%{_infodir}/as.info.*
%{_infodir}/binutils.info.*
%{_infodir}/ld.info.*
%{_infodir}/ldint.info.*
%{_infodir}/bfd.info.*
%{_infodir}/ctf-spec*.info.*
%{_infodir}/gprof.info.*
%{_infodir}/sframe-spec.info.*
%if %{with gprofng}
%{_infodir}/gprofng.info.*
%endif
%endif
%if %{with gprofng}
%files gprofng
%{_bindir}/gp-*
%{_bindir}/gprofng
%{_mandir}/man1/gp-*
%{_mandir}/man1/gprofng*
%{_infodir}/gprofng.info.*
%dir %{_libdir}/gprofng
%{_libdir}/gprofng/*
%{_sysconfdir}/gprofng.rc
@ -1238,6 +1243,9 @@ exit 0
#----------------------------------------------------------------------------
%changelog
* Thu Sep 19 2024 huyubiao <huyubiao@huawei.com> - 2.41-9
- add binutils-help to keep consistent with the old version
* Mon Sep 2 2024 huyubiao <huyubiao@huawei.com> - 2.41-8
- delete binutils-gold package and ld.gold move to binutils package