tizen: Build also on tizen versions not supporting those macros 09/145209/1 sandbox/pcoval/on/tizen/review
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Thu, 22 Sep 2016 08:45:45 +0000 (10:45 +0200)
committerPhilippe Coval <philippe.coval@osg.samsung.com>
Mon, 21 Aug 2017 16:58:46 +0000 (18:58 +0200)
It was tested on Tizen:2.4

Change-Id: I79db0dcdb4c93ddb9d6cb5622590e8079736816f
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
packaging/iotivity.spec

index ce1866b..1241a51 100644 (file)
@@ -28,11 +28,15 @@ Source1002: %{name}-test.manifest
 %endif
 
 %ifarch armv7l armv7hl armv7nhl armv7tnhl armv7thl
+%if 0%{?unified:0}
 BuildRequires: python-accel-armv7l-cross-arm
+%endif
 %define TARGET_ARCH "armeabi-v7a"
 %endif
 %ifarch aarch64
+%if 0%{?unified:0}
 BuildRequires: python-accel-aarch64-cross-aarch64
+%endif
 %define TARGET_ARCH "arm64"
 %endif
 %ifarch x86_64