summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiyoung Yun <jy910.yun@samsung.com>2017-03-21 14:04:37 +0900
committerJiyoung Yun <jy910.yun@samsung.com>2017-03-21 14:07:29 +0900
commite2ccdcc362859cda18255ccd6fb8597595ca8539 (patch)
tree47ce89bb366b2e7ac44f0f1ecfa4349cf47d4f99
parentbe039f8809f44ef9300404a61b4db8f4e2536f04 (diff)
downloadcoreclr-accepted/tizen_ivi.tar.gz
coreclr-accepted/tizen_ivi.tar.bz2
coreclr-accepted/tizen_ivi.zip
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com> Change-Id: Ibcb3dd76f70c1ba23a7aa72c334a4bddc187ee7a
-rw-r--r--packaging/coreclr.spec21
1 files changed, 11 insertions, 10 deletions
diff --git a/packaging/coreclr.spec b/packaging/coreclr.spec
index 4eccad10d9..e4bf3479a0 100644
--- a/packaging/coreclr.spec
+++ b/packaging/coreclr.spec
@@ -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}