Updated to 9.0.0

This commit is contained in:
Алзим 2019-09-23 03:21:17 +03:00
parent 3dde3a60d1
commit fe5b583364
2 changed files with 11 additions and 3 deletions

View file

@ -1,2 +1,2 @@
sources: sources:
lld-8.0.1.src.tar.xz: 67d84c054c8b858d29389aa8ad47a25f632e4a3a lld-9.0.0.src.tar.xz: 021a8c38cf27d63db37d939c7cdec46ffd627be2

View file

@ -1,15 +1,21 @@
%define major 8 %define major 9
%define libname %mklibname %{name} %{major} %define libname %mklibname %{name} %{major}
%define devname %mklibname %{name} -d %define devname %mklibname %{name} -d
%bcond_with git
Summary: The LLVM Linker Summary: The LLVM Linker
Name: lld Name: lld
Version: 8.0.1 Version: 9.0.0
Release: 1 Release: 1
Group: Development/Other Group: Development/Other
License: NCSA License: NCSA
Url: http://llvm.org Url: http://llvm.org
%if %{with git}
Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/%{name}-%{version}.src.tar.xz Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/%{name}-%{version}.src.tar.xz
%else
Source0: http://releases.llvm.org/%{version}/%{name}-%{version}.src.tar.xz
%endif
BuildRequires: cmake BuildRequires: cmake
BuildRequires: llvm-devel = %{version} BuildRequires: llvm-devel = %{version}
BuildRequires: ncurses-devel BuildRequires: ncurses-devel
@ -40,6 +46,7 @@ Shared libraries for LLD.
%files -n %{libname} %files -n %{libname}
%doc LICENSE.TXT %doc LICENSE.TXT
%{_libdir}/lib%{name}*.so.%{major}* %{_libdir}/lib%{name}*.so.%{major}*
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
%package -n %{devname} %package -n %{devname}
@ -56,6 +63,7 @@ programs that use the LLD infrastructure.
%doc LICENSE.TXT %doc LICENSE.TXT
%{_includedir}/lld %{_includedir}/lld
%{_libdir}/liblld*.so %{_libdir}/liblld*.so
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
%prep %prep