Don't build for usupported targets 45/154545/1 accepted/tizen/4.0/unified/20171011.071638 submit/tizen_4.0/20171010.120000 tizen_4.0.IoT.p1_release
authorDmitry Kovalenko <d.kovalenko@samsung.com>
Tue, 10 Oct 2017 11:51:14 +0000 (14:51 +0300)
committerDmitry Kovalenko <d.kovalenko@samsung.com>
Tue, 10 Oct 2017 11:51:14 +0000 (14:51 +0300)
Change-Id: Ibe4abea8df6952a78d78149e27eededa08a19940
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
packaging/swap-probe.spec

index 2b23ded01f067826a8e6a8f967839e2185b9030f..0c873de5ac1c9bb4cff96f8b90ec730d56c9b1fc 100644 (file)
@@ -1,3 +1,5 @@
+%bcond_with emulator
+
 Name:       swap-probe-total
 Summary:    SWAP probe library
 Version:    3.0
@@ -17,7 +19,12 @@ Source:    %{name}_%{version}.tar.gz
 
 
 # unsupport arch
+%if %{with emulator}
 ExcludeArch: x86_64
+%else
+ExcludeArch: %{ix86} x86_64
+%endif
+
 
 
 # common requires