packaging: disable build in X11 repos 17/40917/1 submit/tizen/20150609.074149
authorStephane Desneux <stephane.desneux@open.eurogiciel.org>
Wed, 10 Jun 2015 08:13:49 +0000 (10:13 +0200)
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>
Wed, 10 Jun 2015 08:13:49 +0000 (10:13 +0200)
Bug-Tizen: TINF-965

Change-Id: I91ce9b9e290dcce87dd964ba34a291f584a79ece
Signed-off-by: Stephane Desneux <stephane.desneux@open.eurogiciel.org>
packaging/wrt.spec

index ae5cc22..ba2cefa 100755 (executable)
@@ -10,6 +10,14 @@ License:    Apache-2.0 and BSD-3-Clause
 URL:        https://www.tizen.org
 Source0:    %{name}-%{version}.tar.gz
 
+################ disable builds in X11 repos ###############
+# currently (june 2015), nwrt is not needed on X11 profiles
+# see TINF-965
+%if %{with x}
+ExclusiveArch:
+%endif
+############################################################
+
 BuildRequires: cmake
 BuildRequires: edje-tools
 BuildRequires: gettext
@@ -79,9 +87,9 @@ cmake .. -DCMAKE_INSTALL_PREFIX=%{_prefix} \
 make %{?jobs:-j%jobs}
 
 %install
-%define license_dir %{build_dir}%{_datadir}/license 
-mkdir -p %{license_dir} 
-cp LICENSE %{license_dir}/%{name} 
+%define license_dir %{build_dir}%{_datadir}/license
+mkdir -p %{license_dir}
+cp LICENSE %{license_dir}/%{name}
 cat LICENSE.BSD >> %{license_dir}/%{name}
 cd %{build_dir}
 %make_install