remove conflicting libctf* which provided by libbinutils-devel [release 9.1-2mamba;Mon Feb 17 2020]

This commit is contained in:
Silvan Calarco 2024-01-05 22:39:22 +01:00
parent a1fb20271b
commit 6151f8c537

View File

@ -6,7 +6,7 @@
Name: gdb
Version: 9.1
Release: 1mamba
Release: 2mamba
Summary: A GNU source-level debugger for C, C++, Java and other languages
Group: Development/Tools
Vendor: openmamba
@ -70,6 +70,7 @@ cat > gdb/version.in << EOF
EOF
%build
#:<< _EOF
mkdir build
cd build
ln -s ../configure .
@ -96,8 +97,8 @@ ln -s ../configure .
# these are part of binutils and libbinutils
rm -f %{buildroot}%{_datadir}/locale/*/LC_MESSAGES/{bfd,opcodes}.mo
rm -fr %{buildroot}%{_includedir}
rm -f %{buildroot}%{_infodir}/{bfd*,configure*,standard*}
rm -f %{buildroot}%{_libdir}/lib{bfd*,iberty*,opcodes*}
rm -f %{buildroot}%{_infodir}/{bfd*,configure*,ctf*,standard*}
rm -f %{buildroot}%{_libdir}/lib{bfd*,iberty*,ctf*,opcodes*}
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
@ -105,14 +106,12 @@ rm -f %{buildroot}%{_libdir}/lib{bfd*,iberty*,opcodes*}
%post
%install_info annotate.info
%install_info gdb.info
%install_info gdbint.info
%install_info stabs.info
exit 0
%preun
%uninstall_info annotate.info
%uninstall_info gdb.info
%uninstall_info gdbint.info
%uninstall_info stabs.info
exit 0
@ -129,10 +128,6 @@ exit 0
%else
%{_libdir}/libinproctrace.so
%endif
%{_libdir}/libctf-nobfd.a
%{_libdir}/libctf-nobfd.la
%{_libdir}/libctf.a
%{_libdir}/libctf.la
%dir %{_datadir}/gdb
#%dir %{_datadir}/gdb/guile
#%{_datadir}/gdb/guile/*
@ -158,6 +153,9 @@ exit 0
#README gdb/NEWS
%changelog
* Mon Feb 17 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 9.1-2mamba
- remove conflicting libctf* which provided by libbinutils-devel
* Fri Feb 14 2020 Automatic Build System <autodist@mambasoft.it> 9.1-1mamba
- automatic version update by autodist