summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChan Lee <chan45.lee@samsung.com>2016-12-20 16:53:09 +0900
committerHyungGi Lee <hyunggi.lee@samsung.com>2016-12-23 01:54:28 -0800
commit092a72299dbaf5dbc61beb23391f3c9dfecc19f3 (patch)
treeb09af65c59ef01711c0905833bd8931d95eeac13
parentc36359b0bf03eaf6f426d79f1dfbc1a52251e10a (diff)
downloadobs-092a72299dbaf5dbc61beb23391f3c9dfecc19f3.tar.gz
obs-092a72299dbaf5dbc61beb23391f3c9dfecc19f3.tar.bz2
obs-092a72299dbaf5dbc61beb23391f3c9dfecc19f3.zip
Tizen:3.0:Base, Tizen:Base - remove speedpython macro
There are several reasons to remove this macro, 1. We already provide same functionality with below macro, - Substitute: python-accel-armv7l-cross-arm python-accel-%{build_hostarch}-armv7l - Substitute: python-accel-aarch64-cross-aarch64 python-accel-%{build_hostarch}-aarch64 2. Speedpython macro sometimes cause some build problem Speedpython macro is parsed when spec parsing time and it includes other macro in its own.(I mean, %{build_hostarch} macro) And when the OBS project config updates, OBS sometimes cannot sync-up the changes perfectly. It this case, build error occurs when we use speedpython macro. It seems OBS limitation but, we can avoid this problem by using other macro which provides same functionality. Change-Id: I04189f001b861afefb4ef1c682b7c0bcea68566b Signed-off-by: Chan Lee <chan45.lee@samsung.com>
-rw-r--r--Tizen:3.0:Base/_config23
-rw-r--r--Tizen:Base/_config23
2 files changed, 0 insertions, 46 deletions
diff --git a/Tizen:3.0:Base/_config b/Tizen:3.0:Base/_config
index 9b85146..165edc1 100644
--- a/Tizen:3.0:Base/_config
+++ b/Tizen:3.0:Base/_config
@@ -91,29 +91,6 @@ Runscripts: qemu-accel-%{build_hostarch}-aarch64
Preinstall: libmount libblkid libuuid
%endif # aarch64
-%ifarch %arm armv7l aarch64
-%define speedpython 1
-Macros:
-%speedpython 1
-:Macros
-%endif
-
-%if %speedpython
-%ifarch armv7l
-Macros:
-%en_speedpython BuildRequires: python-accel-%{build_hostarch}-armv7l
-%no_speedpython BuildRequires: -python-accel-%{build_hostarch}-armv7l
-:Macros
-%endif
-
-%ifarch aarch64
-Macros:
-%en_speedpython BuildRequires: python-accel-%{build_hostarch}-aarch64
-%no_speedpython BuildRequires: -python-accel-%{build_hostarch}-aarch64
-:Macros
-%endif # aarch64
-%endif
-
Substitute: python-accel-armv7l-cross-arm python-accel-%{build_hostarch}-armv7l
Substitute: python-accel-aarch64-cross-aarch64 python-accel-%{build_hostarch}-aarch64
diff --git a/Tizen:Base/_config b/Tizen:Base/_config
index 2d1f9c4..96e35d6 100644
--- a/Tizen:Base/_config
+++ b/Tizen:Base/_config
@@ -99,29 +99,6 @@ Runscripts: qemu-accel-%{build_hostarch}-aarch64
Preinstall: libmount libblkid libuuid
%endif # aarch64
-%ifarch %arm armv7l aarch64
-%define speedpython 1
-Macros:
-%speedpython 1
-:Macros
-%endif
-
-%if %speedpython
-%ifarch armv7l
-Macros:
-%en_speedpython BuildRequires: python-accel-%{build_hostarch}-armv7l
-%no_speedpython BuildRequires: -python-accel-%{build_hostarch}-armv7l
-:Macros
-%endif
-
-%ifarch aarch64
-Macros:
-%en_speedpython BuildRequires: python-accel-%{build_hostarch}-aarch64
-%no_speedpython BuildRequires: -python-accel-%{build_hostarch}-aarch64
-:Macros
-%endif # aarch64
-%endif
-
Substitute: python-accel-armv7l-cross-arm python-accel-%{build_hostarch}-armv7l
Substitute: python-accel-aarch64-cross-aarch64 python-accel-%{build_hostarch}-aarch64