import lldb-9.0.1-2.module+el8.2.0+5384+b1459bb7
This commit is contained in:
parent
1a8829098e
commit
08f10fa990
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
SOURCES/lldb-8.0.1.src.tar.xz
|
SOURCES/lldb-9.0.1.src.tar.xz
|
||||||
|
@ -1 +1 @@
|
|||||||
3333ac8f4208d12b863a016a89e1aa40b75ab918 SOURCES/lldb-8.0.1.src.tar.xz
|
3afa0d2573ba55c46360419ed944a729ae08c8f7 SOURCES/lldb-9.0.1.src.tar.xz
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -1,19 +1,18 @@
|
|||||||
#%%global rc_ver 2
|
#%%global rc_ver 3
|
||||||
%global lldb_srcdir lldb-%{version}%{?rc_ver:rc%{rc_ver}}.src
|
%global baserelease 2
|
||||||
|
|
||||||
Name: lldb
|
Name: lldb
|
||||||
Version: 8.0.1
|
Version: 9.0.1
|
||||||
Release: 1%{?rc_ver:.rc%{rc_ver}}%{?dist}
|
Release: %{baserelease}%{?rc_ver:.rc%{rc_ver}}%{?dist}
|
||||||
Summary: Next generation high-performance debugger
|
Summary: Next generation high-performance debugger
|
||||||
|
|
||||||
License: NCSA
|
License: NCSA
|
||||||
URL: http://lldb.llvm.org/
|
URL: http://lldb.llvm.org/
|
||||||
Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}%{?rc_ver:-%{rc_ver}}/%{lldb_srcdir}.tar.xz
|
Source0: http://%{?rc_ver:pre}releases.llvm.org/%{version}/%{?rc_ver:rc%{rc_ver}}/%{name}-%{version}%{?rc_ver:rc%{rc_ver}}.src.tar.xz
|
||||||
|
|
||||||
Patch1: python3.patch
|
|
||||||
|
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: llvm-devel = %{version}
|
BuildRequires: llvm-devel = %{version}
|
||||||
|
BuildRequires: llvm-test = %{version}
|
||||||
BuildRequires: clang-devel = %{version}
|
BuildRequires: clang-devel = %{version}
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
BuildRequires: swig
|
BuildRequires: swig
|
||||||
@ -50,13 +49,7 @@ Requires: python3-six
|
|||||||
The package contains the LLDB Python module.
|
The package contains the LLDB Python module.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}%{?rc_ver:rc%{rc_ver}}.src
|
%autosetup -n %{name}-%{version}%{?rc_ver:rc%{rc_ver}}.src -p2
|
||||||
|
|
||||||
%patch1 -p1 -b .python
|
|
||||||
|
|
||||||
# HACK so that lldb can find its custom readline.so, because we move it
|
|
||||||
# after install.
|
|
||||||
sed -i -e "s~import sys~import sys\nsys.path.insert\(1, '%{python3_sitearch}/lldb'\)~g" source/Interpreter/embedded_interpreter.py
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
@ -104,7 +97,6 @@ rm -fv %{buildroot}%{_libdir}/*.a
|
|||||||
# python: fix binary libraries location
|
# python: fix binary libraries location
|
||||||
liblldb=$(basename $(readlink -e %{buildroot}%{_libdir}/liblldb.so))
|
liblldb=$(basename $(readlink -e %{buildroot}%{_libdir}/liblldb.so))
|
||||||
ln -vsf "../../../${liblldb}" %{buildroot}%{python3_sitearch}/lldb/_lldb.so
|
ln -vsf "../../../${liblldb}" %{buildroot}%{python3_sitearch}/lldb/_lldb.so
|
||||||
mv -v %{buildroot}%{python3_sitearch}/readline.so %{buildroot}%{python3_sitearch}/lldb/readline.so
|
|
||||||
%py_byte_compile %{__python3} %{buildroot}%{python3_sitearch}/lldb
|
%py_byte_compile %{__python3} %{buildroot}%{python3_sitearch}/lldb
|
||||||
|
|
||||||
# remove bundled six.py
|
# remove bundled six.py
|
||||||
@ -125,6 +117,15 @@ rm -f %{buildroot}%{python3_sitearch}/six.*
|
|||||||
%{python3_sitearch}/lldb
|
%{python3_sitearch}/lldb
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Dec 21 2019 Tom Stellard <tstellar@redhat.com> - 9.0.1-1
|
||||||
|
- 9.0.1 Release
|
||||||
|
|
||||||
|
* Fri Oct 04 2019 Tom Stellard <tstellar@redhat.com> - 9.0.0-2
|
||||||
|
- Disable readline module to work-around segafult
|
||||||
|
|
||||||
|
* Fri Sep 27 2019 Tom Stellard <tstellar@redhat.com> - 9.0.0-1
|
||||||
|
- 9.0.0 Release
|
||||||
|
|
||||||
* Thu Aug 1 2019 sguelton@redhat.com - 8.0.1-1
|
* Thu Aug 1 2019 sguelton@redhat.com - 8.0.1-1
|
||||||
- 8.0.1 release
|
- 8.0.1 release
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user