5.0.0 Release

This commit is contained in:
Tom Stellard 2017-10-06 16:28:37 +00:00
parent 4299ac2dba
commit c3523b381b
3 changed files with 13 additions and 10 deletions

1
.gitignore vendored
View File

@ -6,3 +6,4 @@
/lldb-3.9.1.src.tar.xz
/lldb-4.0.0.src.tar.xz
/lldb-4.0.1.src.tar.xz
/lldb-5.0.0.src.tar.xz

View File

@ -1,6 +1,6 @@
Name: lldb
Version: 4.0.1
Release: 4%{?dist}
Version: 5.0.0
Release: 1%{?dist}
Summary: Next generation high-performance debugger
License: NCSA
@ -8,10 +8,6 @@ URL: http://lldb.llvm.org/
Source0: http://llvm.org/releases/%{version}/%{name}-%{version}.src.tar.xz
ExclusiveArch: %{arm} aarch64 %{ix86} x86_64
# Patch to remove use of private llvm headers
Patch0: 0001-Fix-build-with-gcc-7.patch
# lldb: libedit produces garbled, unusable input on Linux
Patch1: r303907-libedit.patch
BuildRequires: cmake
BuildRequires: llvm-devel = %{version}
@ -52,9 +48,6 @@ The package contains the LLDB Python module.
%prep
%setup -q -n %{name}-%{version}.src
%patch0 -p1
%patch1 -p1
# 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, '%{python_sitearch}/lldb'\)~g" source/Interpreter/embedded_interpreter.py
@ -109,12 +102,18 @@ mv -v %{buildroot}%{python_sitearch}/readline.so %{buildroot}%{python_sitearch}/
# remove bundled six.py
rm -f %{buildroot}%{python_sitearch}/six.*
# Move this plugin to libdir.
# FIXME: I have no idea why this is installed to bindir. Moving it to libdir
# may break it, but I don't know how to test this.
mv -v %{buildroot}{%{_bindir},%{_libdir}}/liblldb-intel-mpxtable.so
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%{_bindir}/lldb*
%{_libdir}/liblldb.so.*
%{_libdir}/liblldb-intel-mpxtable.so
%files devel
%{_includedir}/lldb
@ -124,6 +123,9 @@ rm -f %{buildroot}%{python_sitearch}/six.*
%{python_sitearch}/lldb
%changelog
* Fri Oct 06 2017 Tom Stellard <tstellar@redhat.com> - 5.0.0-1
- 5.0.0 Release
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 4.0.1-4
- Python 2 binary package renamed to python2-lldb
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3

View File

@ -1 +1 @@
SHA512 (lldb-4.0.1.src.tar.xz) = 1d94d7dfcc0614b16d0ef83436bbe814b39e34ba18394361bb9f13ad408ae9b29affa9a5d58c50c8dcd83765a39ae4d59ffabb7d8cd1358fd2fbd198b2de2ab6
SHA512 (lldb-5.0.0.src.tar.xz) = bc70953c7f6b3f0bc797461fb53d9c60c5ab36c0b9aae815a3c37fc597a61c7220695ee3b60a9682486d2e4713c5f78ea85e853e13c587e356510a1c99a62ba9