packaging: cleanup, exclude if not wayland
authorPhilippe Coval <philippe.coval@open.eurogiciel.org>
Mon, 10 Mar 2014 10:53:54 +0000 (11:53 +0100)
committerEduardo Lima (Etrunko) <eduardo.lima@intel.com>
Wed, 3 Dec 2014 19:05:32 +0000 (17:05 -0200)
Change-Id: Id3916e0d960b00e65fb6bdd39bce8e6a6df00156
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
packaging/weekeyboard.spec

index 4493364fa537ee67826e27ddf347e3ae122e5ce8..e0bdf16f04e3e9f5960a628bd0f226868631eb17 100644 (file)
@@ -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
-