From 45f04cadc9ec23cff7559d0704a898787388c687 Mon Sep 17 00:00:00 2001 From: Philippe Coval Date: Thu, 13 Feb 2014 15:13:45 +0100 Subject: [PATCH] packaging: prevent using utilX on non X11 configuration Change-Id: If122b5a862ed91f1b8b7d8e9b01963a1c892fd7d Bug-Tizen: PTREL-653 Signed-off-by: Philippe Coval --- packaging/wrt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packaging/wrt.spec b/packaging/wrt.spec index 8662de1..81d12c9 100644 --- a/packaging/wrt.spec +++ b/packaging/wrt.spec @@ -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) -- 2.7.4