move libsframe.a and sframe-spec.info to a new -devel package to avoid a conflict with libbinutils-devel [release 13.1-2mamba;Thu Feb 23 2023]

This commit is contained in:
Silvan Calarco 2024-01-05 22:39:25 +01:00
parent 3a19cb0af7
commit 2d3a33d091

View File

@ -6,7 +6,7 @@
Name: gdb Name: gdb
Version: 13.1 Version: 13.1
Release: 1mamba Release: 2mamba
Summary: A GNU source-level debugger for C, C++, Java and other languages Summary: A GNU source-level debugger for C, C++, Java and other languages
Group: Development/Tools Group: Development/Tools
Vendor: openmamba Vendor: openmamba
@ -49,6 +49,7 @@ BuildRequires: libreadline-devel
BuildRequires: texinfo BuildRequires: texinfo
Requires(post):%{__install_info} Requires(post):%{__install_info}
Requires: glibc-debug Requires: glibc-debug
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description %description
GDB, the GNU Project debugger, allows you to see what is going on `inside' another program while it executes. GDB, the GNU Project debugger, allows you to see what is going on `inside' another program while it executes.
@ -62,6 +63,13 @@ Those programs might be executing on the same machine as GDB (native) or on anot
If you are going to develop C and/or C++ programs and use the GNU gcc compiler, you may want to install gdb to help you debug your programs. If you are going to develop C and/or C++ programs and use the GNU gcc compiler, you may want to install gdb to help you debug your programs.
%package devel
Group: Development/Libraries
Summary: Development files provided with gdb
%description devel
Development files provided with gdb.
%debug_package %debug_package
%prep %prep
@ -116,13 +124,21 @@ rm -f %{buildroot}%{_libdir}/lib{bfd*,iberty*,ctf*,opcodes*}
%install_info annotate.info %install_info annotate.info
%install_info gdb.info %install_info gdb.info
%install_info stabs.info %install_info stabs.info
exit 0 :
%preun %preun
%uninstall_info annotate.info %uninstall_info annotate.info
%uninstall_info gdb.info %uninstall_info gdb.info
%uninstall_info stabs.info %uninstall_info stabs.info
exit 0 :
%post devel
%install_info sframe-spec.info
:
%preun devel
%uninstall_info sframe-spec.info
:
%files %files
%defattr(-,root,root) %defattr(-,root,root)
@ -135,7 +151,6 @@ exit 0
#%{_bindir}/run #%{_bindir}/run
#%{_libdir}/lib%{_host}-sim.a #%{_libdir}/lib%{_host}-sim.a
#%endif #%endif
%{_libdir}/libsframe.a
%ifnarch arm %ifnarch arm
%{_libdir}/libinproctrace.so %{_libdir}/libinproctrace.so
%endif %endif
@ -154,7 +169,6 @@ exit 0
%{_infodir}/annotate.info* %{_infodir}/annotate.info*
%{_infodir}/gdb.info* %{_infodir}/gdb.info*
#%{_infodir}/gdbint.info* #%{_infodir}/gdbint.info*
%{_infodir}/sframe-spec.info*
%{_infodir}/stabs.info* %{_infodir}/stabs.info*
%{_mandir}/man1/gcore.1* %{_mandir}/man1/gcore.1*
%{_mandir}/man1/gdb.* %{_mandir}/man1/gdb.*
@ -164,7 +178,15 @@ exit 0
%doc COPYING COPYING.LIB %doc COPYING COPYING.LIB
#README gdb/NEWS #README gdb/NEWS
%files devel
%defattr(-,root,root)
%{_libdir}/libsframe.a
%{_infodir}/sframe-spec.info*
%changelog %changelog
* Thu Feb 23 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 13.1-2mamba
- move libsframe.a and sframe-spec.info to a new -devel package to avoid a conflict with libbinutils-devel
* Tue Feb 21 2023 Automatic Build System <autodist@mambasoft.it> 13.1-1mamba * Tue Feb 21 2023 Automatic Build System <autodist@mambasoft.it> 13.1-1mamba
- automatic version update by autodist - automatic version update by autodist