Accepting request 244854 from devel:tools:compiler

- Fix the sed line for minimal damage.

OBS-URL: https://build.opensuse.org/request/show/244854
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm?expand=0&rev=62
This commit is contained in:
Ludwig Nussel 2014-08-20 15:52:49 +00:00 committed by Git OBS Bridge
commit 1fb69e7a05
2 changed files with 6 additions and 7 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Aug 15 14:23:39 UTC 2014 - idonmez@suse.com
- Fix the sed line for minimal damage.
-------------------------------------------------------------------
Wed Jul 23 19:45:30 UTC 2014 - idonmez@suse.com

View File

@ -162,18 +162,12 @@ This package contains the Python bindings to clang (C language) frontend for LLV
# We hardcode i586
rm tools/clang/test/Driver/x86_features.c
%if "%{_lib}" == "lib64"
# lib64 related problems on 64bit
rm tools/clang/test/Driver/linux-ld.c
%endif
sed -i s,SVN_REVISION,\"%{_revision}\",g tools/clang/lib/Basic/Version.cpp
sed -i s,LLVM_REVISION,\"%{_revision}\",g tools/clang/lib/Basic/Version.cpp
%if "%{_lib}" == "lib64"
# Nasty hardcoded path
sed -i s,"/lib/","/lib64/",g tools/clang/lib/Driver/Tools.cpp \
tools/clang/test/Driver/dyld-prefix.c
sed -i s,"/lib/LLVMgold","/lib64/LLVMgold",g tools/clang/lib/Driver/Tools.cpp
sed -i s,"}lib{","}lib64{",g tools/clang/test/Preprocessor/iwithprefix.c
%endif