Cleanup specfile after llvm specfile update

This commit is contained in:
serge-sans-paille 2019-03-06 18:02:53 +00:00
parent 43e8ad9e23
commit d799273f6b

View File

@ -3,7 +3,7 @@
Name: lld Name: lld
Version: 8.0.0 Version: 8.0.0
Release: 0.3%{?rc_ver:.rc%{rc_ver}}%{?dist} Release: 0.4%{?rc_ver:.rc%{rc_ver}}%{?dist}
Summary: The LLVM Linker Summary: The LLVM Linker
License: NCSA License: NCSA
@ -17,6 +17,7 @@ BuildRequires: gcc
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: cmake BuildRequires: cmake
BuildRequires: llvm-devel = %{version} BuildRequires: llvm-devel = %{version}
BuildRequires: llvm-test = %{version}
BuildRequires: ncurses-devel BuildRequires: ncurses-devel
BuildRequires: zlib-devel BuildRequires: zlib-devel
BuildRequires: chrpath BuildRequires: chrpath
@ -57,11 +58,7 @@ cd %{_target_platform}
-DLLVM_INCLUDE_TESTS=ON \ -DLLVM_INCLUDE_TESTS=ON \
-DLLVM_MAIN_SRC_DIR=%{_datadir}/llvm/src \ -DLLVM_MAIN_SRC_DIR=%{_datadir}/llvm/src \
-DLLVM_EXTERNAL_LIT=%{_bindir}/lit \ -DLLVM_EXTERNAL_LIT=%{_bindir}/lit \
-DLLVM_TABLEGEN_EXE=%{_libdir}/llvm/llvm-tblgen\
-DLLVM_LIT_ARGS="-sv \ -DLLVM_LIT_ARGS="-sv \
-DFileCheck=%{_libdir}/llvm/FileCheck \
-Dcount=%{_libdir}/llvm/count \
-Dnot=%{_libdir}/llvm/not \
--path %{_libdir}/llvm" \ --path %{_libdir}/llvm" \
%if 0%{?__isa_bits} == 64 %if 0%{?__isa_bits} == 64
-DLLVM_LIBDIR_SUFFIX=64 -DLLVM_LIBDIR_SUFFIX=64
@ -79,11 +76,6 @@ cd %{_target_platform}
chrpath --delete %{buildroot}%{_bindir}/* chrpath --delete %{buildroot}%{_bindir}/*
chrpath --delete %{buildroot}%{_libdir}/*.so* chrpath --delete %{buildroot}%{_libdir}/*.so*
for target in ld.lld ld64.lld wasm-ld
do
ln -s lld %{buildroot}%{_bindir}/${target}
done
%check %check
make -C %{_target_platform} %{?_smp_mflags} check-lld make -C %{_target_platform} %{?_smp_mflags} check-lld
@ -104,6 +96,9 @@ make -C %{_target_platform} %{?_smp_mflags} check-lld
%{_libdir}/liblld*.so.* %{_libdir}/liblld*.so.*
%changelog %changelog
* Tue Mar 5 2019 sguelton@redhat.com - 8.0.0-0.4.rc3
- Cleanup specfile after llvm specfile update
* Mon Mar 4 2019 sguelton@redhat.com - 8.0.0-0.3.rc3 * Mon Mar 4 2019 sguelton@redhat.com - 8.0.0-0.3.rc3
- 8.0.0 Release candidate 3 - 8.0.0 Release candidate 3