From: Philippe Coval Date: Thu, 6 Feb 2014 16:41:40 +0000 (+0100) Subject: packaging: add dependency to ecore-x and exclude on non X11 configuration X-Git-Tag: accepted/tizen/generic/20140213.074857^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Faccepted%2Ftizen_ivi_release;hp=2b6afc3c88377200511c2dbed81b5b134fc7c81d;p=platform%2Fcore%2Fbase%2Frpm-installer.git 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 --- 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