packaging: prevent using utilX on non X11 configuration 41/16341/2
authorPhilippe Coval <philippe.coval@open.eurogiciel.org>
Thu, 13 Feb 2014 14:13:45 +0000 (15:13 +0100)
committerPhilippe Coval <philippe.coval@open.eurogiciel.org>
Tue, 18 Feb 2014 09:23:28 +0000 (10:23 +0100)
Change-Id: If122b5a862ed91f1b8b7d8e9b01963a1c892fd7d
Bug-Tizen: PTREL-653
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
packaging/wrt.spec

index 8662de1..81d12c9 100644 (file)
@@ -1,3 +1,4 @@
+%bcond_with x
 %bcond_with mesa
 %bcond_with wayland
 %bcond_with decrypt
@@ -6,7 +7,7 @@
 Name:       wrt
 Summary:    web runtime
 Version:    0.8.288
-Release:    1
+Release:    0
 Group:      Development/Libraries
 License:    Apache-2.0
 URL:        N/A
@@ -31,7 +32,9 @@ BuildRequires:  pkgconfig(libpcrecpp)
 BuildRequires:  pkgconfig(ecore)
 BuildRequires:  pkgconfig(eina)
 BuildRequires:  pkgconfig(ui-gadget-1)
+%if %{with x}
 BuildRequires:  pkgconfig(utilX)
+%endif
 BuildRequires:  pkgconfig(secure-storage)
 BuildRequires:  pkgconfig(pkgmgr)
 BuildRequires:  pkgconfig(libiri)