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 lldb_srcdir lldb-%{version}%{?rc_ver:rc%{rc_ver}}.src
|
||||
#%%global rc_ver 3
|
||||
%global baserelease 2
|
||||
|
||||
Name: lldb
|
||||
Version: 8.0.1
|
||||
Release: 1%{?rc_ver:.rc%{rc_ver}}%{?dist}
|
||||
Version: 9.0.1
|
||||
Release: %{baserelease}%{?rc_ver:.rc%{rc_ver}}%{?dist}
|
||||
Summary: Next generation high-performance debugger
|
||||
|
||||
License: NCSA
|
||||
URL: http://lldb.llvm.org/
|
||||
Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}%{?rc_ver:-%{rc_ver}}/%{lldb_srcdir}.tar.xz
|
||||
|
||||
Patch1: python3.patch
|
||||
Source0: http://%{?rc_ver:pre}releases.llvm.org/%{version}/%{?rc_ver:rc%{rc_ver}}/%{name}-%{version}%{?rc_ver:rc%{rc_ver}}.src.tar.xz
|
||||
|
||||
BuildRequires: cmake
|
||||
BuildRequires: llvm-devel = %{version}
|
||||
BuildRequires: llvm-test = %{version}
|
||||
BuildRequires: clang-devel = %{version}
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRequires: swig
|
||||
@ -50,13 +49,7 @@ Requires: python3-six
|
||||
The package contains the LLDB Python module.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}%{?rc_ver:rc%{rc_ver}}.src
|
||||
|
||||
%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
|
||||
%autosetup -n %{name}-%{version}%{?rc_ver:rc%{rc_ver}}.src -p2
|
||||
|
||||
%build
|
||||
|
||||
@ -104,7 +97,6 @@ rm -fv %{buildroot}%{_libdir}/*.a
|
||||
# python: fix binary libraries location
|
||||
liblldb=$(basename $(readlink -e %{buildroot}%{_libdir}/liblldb.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
|
||||
|
||||
# remove bundled six.py
|
||||
@ -125,6 +117,15 @@ rm -f %{buildroot}%{python3_sitearch}/six.*
|
||||
%{python3_sitearch}/lldb
|
||||
|
||||
%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
|
||||
- 8.0.1 release
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user