From 9bc2b81a4b1c0e50aee05e0913fe0274fb1a937e Mon Sep 17 00:00:00 2001 From: Philippe Coval Date: Mon, 10 Mar 2014 11:53:54 +0100 Subject: [PATCH] packaging: cleanup, exclude if not wayland Change-Id: Id3916e0d960b00e65fb6bdd39bce8e6a6df00156 Signed-off-by: Philippe Coval --- packaging/weekeyboard.spec | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/packaging/weekeyboard.spec b/packaging/weekeyboard.spec index 4493364..e0bdf16 100644 --- a/packaging/weekeyboard.spec +++ b/packaging/weekeyboard.spec @@ -2,7 +2,7 @@ Name: weekeyboard Version: 0.0.2 -Release: 1 +Release: 0 License: Apache-2.0 Summary: Virtual Keyboard Application Url: http://github.com/etrunko/weekeyboard @@ -15,7 +15,6 @@ BuildRequires: pkgconfig(eet) BuildRequires: pkgconfig(evas) BuildRequires: pkgconfig(ecore) BuildRequires: pkgconfig(ecore-evas) -BuildRequires: pkgconfig(ecore-wayland) BuildRequires: pkgconfig(edje) BuildRequires: pkgconfig(eet) BuildRequires: pkgconfig(efreet) @@ -26,7 +25,9 @@ Requires: ibus Requires: ibus-hangul Requires: ibus-libpinyin -%if !%{with wayland} +%if %{with wayland} +BuildRequires: pkgconfig(ecore-wayland) +%else ExclusiveArch: %endif @@ -52,5 +53,3 @@ make %{?_smp_mflags} %{_bindir}/weekeyboard %{_datadir}/weekeyboard/*.edj -%changelog - -- 2.34.1