From a78f4af01739e4beaf8746d274850a55d8f68aa3 Mon Sep 17 00:00:00 2001 From: Philippe Coval Date: Thu, 6 Feb 2014 17:41:40 +0100 Subject: [PATCH 1/1] packaging: add dependency to ecore-x and exclude on non X11 configuration packaging: cleanup spec Bug-Tizen: PTREL-653 Change-Id: Ibd0cf633a430520e69cf4add0a86856e25a49ab7 Signed-off-by: Philippe Coval --- packaging/rpm-installer.spec | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/packaging/rpm-installer.spec b/packaging/rpm-installer.spec index 8c6f769..b08cb43 100755 --- a/packaging/rpm-installer.spec +++ b/packaging/rpm-installer.spec @@ -1,11 +1,13 @@ +%bcond_with x + Name: rpm-installer Summary: Native rpm installer Version: 0.1.25 -Release: 2 +Release: 0 Group: System/Libraries License: Apache License, Version 2.0 Source0: %{name}-%{version}.tar.gz -Source1001: rpm-installer.manifest +Source1001: rpm-installer.manifest Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig BuildRequires: cmake @@ -22,7 +24,7 @@ BuildRequires: pkgconfig(pkgmgr-types) BuildRequires: pkgconfig(pkgmgr-installer) BuildRequires: pkgconfig(pkgmgr-parser) BuildRequires: pkgconfig(pkgmgr) -BuildRequires: pkgconfig(pkgmgr-info) +BuildRequires: pkgconfig(pkgmgr-info) BuildRequires: pkgconfig(app2sd) BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(security-server) @@ -32,6 +34,11 @@ BuildRequires: pkgconfig(evas) BuildRequires: pkgconfig(ecore) BuildRequires: pkgconfig(edje) BuildRequires: gettext-tools +%if %{with x} +BuildRequires: pkgconfig(ecore-x) +%else +ExclusiveArch: +%endif Requires: cpio %description -- 2.7.4