Build dependency err fix. 34/16534/2
authorvadthe.naik <vadthe.naik@samsung.com>
Tue, 18 Feb 2014 11:41:59 +0000 (17:11 +0530)
committervadthe.naik <vadthe.naik@samsung.com>
Wed, 19 Feb 2014 05:59:59 +0000 (11:29 +0530)
Bug id: PTREL-711

Change-Id: I24e18bbff27b1d0cb8526f39ad0ddee8cd8ce313
Signed-off-by: vadthe.naik <vadthe.naik@samsung.com>
packaging/ug-setting-mobileap-efl.spec

index ae59f03..95b5732 100644 (file)
@@ -1,5 +1,6 @@
 %define _usrdir /usr
 %define _ugdir  %{_usrdir}/ug
+%bcond_with x
 
 Name:       ug-setting-mobileap-efl
 Summary:    Tethering UI Gadget Library
@@ -22,6 +23,9 @@ BuildRequires: pkgconfig(capi-network-wifi)
 BuildRequires: pkgconfig(capi-telephony-sim)
 BuildRequires: pkgconfig(capi-network-bluetooth)
 BuildRequires: pkgconfig(notification)
+%if %{with x}
+BuildRequires: pkgconfig(x11)
+%endif
 
 %description
 Tethering UI Gadget Library