Remove lldb dependency 91/119991/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen/common/20170321.103055 accepted/tizen/ivi/20170321.095552 accepted/tizen/mobile/20170321.095507 accepted/tizen/tv/20170321.095537 accepted/tizen/unified/20170321.095607 submit/tizen/20170321.073644
authorJiyoung Yun <jy910.yun@samsung.com>
Tue, 21 Mar 2017 05:04:37 +0000 (14:04 +0900)
committerJiyoung Yun <jy910.yun@samsung.com>
Tue, 21 Mar 2017 05:07:29 +0000 (14:07 +0900)
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
Change-Id: Ibcb3dd76f70c1ba23a7aa72c334a4bddc187ee7a

packaging/coreclr.spec

index 4eccad1..e4bf347 100644 (file)
@@ -6,7 +6,7 @@
 %define skipmscorlib 0
 %endif
 
-%ifarch armv7l
+%ifarch %{arm}
 %define support_test 1
 %define skipnative 0
 %define skipmscorlib 0
@@ -32,7 +32,7 @@ Source1003: dep_libs.tar.gz
 Patch0:     Add-Tizen-RuntimeID-case.patch
 Patch1:     Add-project.lock.json-files.patch
 
-ExclusiveArch:  %arm x86_64
+ExclusiveArch:  %{arm} x86_64
 
 BuildRequires:  python
 BuildRequires:  python-xml
@@ -43,6 +43,12 @@ BuildRequires:  pkgconfig(uuid)
 BuildRequires:  libicu-devel
 BuildRequires:  tizen-release
 # No matter what tizen-release package you use in any profile
+AutoReq: 0
+Requires: glibc
+Requires: libgcc
+Requires: libstdc++
+Requires: libunwind
+Requires: libuuid
 
 %if 0%{skipnative}
 %else
@@ -61,16 +67,11 @@ BuildRequires:  libstdc++-devel
 %ifarch x86_64
 BuildRequires:  pkgconfig(lttng-ust)
 %endif
-
-# The followings are suggested by Jan Kotas
-Requires: libunwind
-#(if you are debugging)
-#Requires:  lldb >= 3.8
 %endif
 
 %if 0%{skipmscorlib}
 %else
-%ifarch armv7l
+%ifarch %{arm}
 BuildRequires:  patchelf
 %endif
 %endif
@@ -109,7 +110,7 @@ cp %{SOURCE1001} .
 %patch1 -p1
 cp %{SOURCE1000} ./
 tar xf %{SOURCE1000}
-%ifarch armv7l
+%ifarch %{arm}
 %setup -T -D -a 1002
 %setup -T -D -a 1003
 # Detect interpreter name from cross-gcc
@@ -168,7 +169,7 @@ export C_INCLUDE_PATH="${LLVM_INCLUDEDIR}/llvm-c/:%{_includedir}"
 %define _barch  x86
 
 %else
-%ifarch armv7l
+%ifarch %{arm}
 %define _barch  armel
 
 %if 0%{skipnative}