summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/coreclr.spec21
1 files changed, 11 insertions, 10 deletions
diff --git a/packaging/coreclr.spec b/packaging/coreclr.spec
index 4eccad1..e4bf347 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}