Add ExclusiveArch option
authorJiyoung Yun <jy910.yun@samsung.com>
Tue, 13 Dec 2016 07:04:59 +0000 (16:04 +0900)
committerJiyoung Yun <jy910.yun@samsung.com>
Tue, 21 Feb 2017 05:47:07 +0000 (14:47 +0900)
ExclusiveArch: %arm x86_64

Change-Id: I40b8f28b31332bc0ab7c8c5aaef6409a6e415a39
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
packaging/coreclr.spec

index e533402..944dc67 100644 (file)
@@ -1,19 +1,15 @@
 %{!?dotnet_buildtype: %define dotnet_buildtype Release}
 
-%ifarch armv7l
+%ifarch x86_64
 %define support_test 1
 %define skipnative 0
 %define skipmscorlib 0
-%else
-%ifarch x86_64
+%endif
+
+%ifarch armv7l
 %define support_test 1
 %define skipnative 0
 %define skipmscorlib 0
-%else
-%define support_test 0
-%define skipnative 1
-%define skipmscorlib 1
-%endif
 %endif
 
 Name:          coreclr
@@ -33,6 +29,8 @@ Patch0:     Add-Tizen-distro.patch
 Patch1:     Do-not-ignore-project.lock.json.patch
 Patch2:     Support-managed-build-on-armv7l-env.patch
 
+ExclusiveArch:  %arm x86_64
+
 BuildRequires:  python
 BuildRequires:  python-xml
 # libcoreclr.so