automatic version update by autodist [release 16.0.4-1mamba;Sun May 21 2023]

This commit is contained in:
Automatic Build System 2024-01-06 06:25:51 +01:00
parent 88b16904f6
commit 93869b079c

View File

@ -1,7 +1,7 @@
%define gccver %(gcc -dumpversion) %define gccver %(gcc -dumpversion)
%define majver %(echo %version | cut -d. -f1-2) %define majver %(echo %version | cut -d. -f1-2)
Name: lldb Name: lldb
Version: 15.0.7 Version: 16.0.4
Release: 1mamba Release: 1mamba
Summary: Next generation, high-performance debugger Summary: Next generation, high-performance debugger
Group: Development/Languages Group: Development/Languages
@ -10,6 +10,8 @@ Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://llvm.org/ URL: https://llvm.org/
Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/lldb-%{version}.src.tar.xz Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/lldb-%{version}.src.tar.xz
Source1: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/cmake-%{version}.src.tar.xz
Source2: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/third-party-%{version}.src.tar.xz
Patch0: lldb-15.0.5-swig-4.1.0.patch Patch0: lldb-15.0.5-swig-4.1.0.patch
Patch1: lldb-15.0.5-swig-4.1.0-2.patch Patch1: lldb-15.0.5-swig-4.1.0-2.patch
Patch2: lldb-15.0.5-swig-typemap-const.patch Patch2: lldb-15.0.5-swig-typemap-const.patch
@ -24,12 +26,12 @@ BuildRequires: libllvm-devel
BuildRequires: liblua-devel BuildRequires: liblua-devel
BuildRequires: liblzma-devel BuildRequires: liblzma-devel
BuildRequires: libncurses-devel BuildRequires: libncurses-devel
BuildRequires: libpython3-devel BuildRequires: libpython310-devel
BuildRequires: libstdc++6-devel BuildRequires: libstdc++6-devel
BuildRequires: libxml2-devel BuildRequires: libxml2-devel
BuildRequires: libz-devel BuildRequires: libz-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: libclang-devel >= 15.0.5 BuildRequires: libclang-devel >= 16.0.4
BuildRequires: llvm BuildRequires: llvm
BuildRequires: lld BuildRequires: lld
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
@ -65,27 +67,34 @@ This package includes the lib%{name} API documentation.
%debug_package %debug_package
%prep %prep
%setup -q -n %{name}-%{version}.src %setup -q -c -a0 -a1 -a2
#% setup -q -D -T
#:<< _EOF
mv lldb-%{version}.src lldb
mv cmake-%{version}.src cmake
mv third-party-%{version}.src third-party
#-D -T #-D -T
#:<< _EOF #:<< _EOF
%patch0 -p2 -b .swig-4.1.0 #%patch 0 -p2 -b .swig-4.1.0
%patch1 -p1 -b .swig-4.1.0-2 #%patch 1 -p1 -b .swig-4.1.0-2
%patch3 -p1 #%patch 3 -p1
%build %build
#:<< _EOF #:<< _EOF
mkdir -p build mkdir -p build
cd build cd build
cmake .. -G Ninja \ cmake -G Ninja \
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DLLVM_LINK_LLVM_DYLIB=ON \ -DLLVM_LINK_LLVM_DYLIB=ON \
-DLLDB_USE_SYSTEM_SIX=1 \ -DLLDB_USE_SYSTEM_SIX=1 \
-DPython3_EXECUTABLE=%{__python3} \ -DPython3_EXECUTABLE=%{__python310} \
-DPython3_LIBRARY=%{_libdir}/libpython%{python3_version}.so \ -DPython3_LIBRARY=%{_libdir}/libpython%{python310_version}.so \
-DLLDB_PYTHON_RELATIVE_PATH=%{python3_sitearch} \ -DLLDB_PYTHON_RELATIVE_PATH=%{python310_sitearch} \
-Wno-dev -Wno-dev \
../lldb
ninja ninja
@ -107,8 +116,8 @@ ninja install
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/lldb %{_bindir}/lldb
%{_bindir}/lldb-* %{_bindir}/lldb-*
%dir %{python3_sitearch}/lldb %dir %{python310_sitearch}/lldb
%{python3_sitearch}/lldb/* %{python310_sitearch}/lldb/*
%ifarch x86_64 aarch64 %ifarch x86_64 aarch64
%{_prefix}/lib/lua/*/lldb.so %{_prefix}/lib/lua/*/lldb.so
%endif %endif
@ -117,7 +126,7 @@ ninja install
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/liblldb.so.* %{_libdir}/liblldb.so.*
%{_libdir}/liblldbIntelFeatures.so.* %{_libdir}/liblldbIntelFeatures.so.*
%doc LICENSE.TXT %doc lldb/LICENSE.TXT
%files -n lib%{name}-devel %files -n lib%{name}-devel
%defattr(-,root,root) %defattr(-,root,root)
@ -133,6 +142,9 @@ ninja install
#%{_docdir}/lldb/* #%{_docdir}/lldb/*
%changelog %changelog
* Sun May 21 2023 Automatic Build System <autodist@mambasoft.it> 16.0.4-1mamba
- automatic version update by autodist
* Thu Jan 12 2023 Automatic Build System <autodist@mambasoft.it> 15.0.7-1mamba * Thu Jan 12 2023 Automatic Build System <autodist@mambasoft.it> 15.0.7-1mamba
- automatic version update by autodist - automatic version update by autodist