Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
Change-Id: Ibcb3dd76f70c1ba23a7aa72c334a4bddc187ee7a
%define skipmscorlib 0
%endif
-%ifarch armv7l
+%ifarch %{arm}
%define support_test 1
%define skipnative 0
%define skipmscorlib 0
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
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
%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
%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
%define _barch x86
%else
-%ifarch armv7l
+%ifarch %{arm}
%define _barch armel
%if 0%{skipnative}