diff --git a/.abf.yml b/.abf.yml index 766b64a..3b1b0c7 100644 --- a/.abf.yml +++ b/.abf.yml @@ -1,2 +1,2 @@ sources: - lld-8.0.1.src.tar.xz: 67d84c054c8b858d29389aa8ad47a25f632e4a3a + lld-9.0.0.src.tar.xz: 021a8c38cf27d63db37d939c7cdec46ffd627be2 diff --git a/lld.spec b/lld.spec index f9b93a2..f0dfd69 100644 --- a/lld.spec +++ b/lld.spec @@ -1,15 +1,21 @@ -%define major 8 +%define major 9 %define libname %mklibname %{name} %{major} %define devname %mklibname %{name} -d +%bcond_with git + Summary: The LLVM Linker Name: lld -Version: 8.0.1 +Version: 9.0.0 Release: 1 Group: Development/Other License: NCSA Url: http://llvm.org +%if %{with git} 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: llvm-devel = %{version} BuildRequires: ncurses-devel @@ -40,6 +46,7 @@ Shared libraries for LLD. %files -n %{libname} %doc LICENSE.TXT %{_libdir}/lib%{name}*.so.%{major}* + #------------------------------------------------------------------------- %package -n %{devname} @@ -56,6 +63,7 @@ programs that use the LLD infrastructure. %doc LICENSE.TXT %{_includedir}/lld %{_libdir}/liblld*.so + #------------------------------------------------------------------------- %prep