]> git.pld-linux.org Git - packages/ibus-anthy.git/commitdiff
- fix bridge_hotkey bcond, enable anly what's needed for ibus 1.4
authorJan Rękorajski <baggins@pld-linux.org>
Wed, 20 Jul 2011 10:42:38 +0000 (10:42 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ibus-anthy.spec -> 1.4

ibus-anthy.spec

index 0b8bbb6ae8b982ec66ef93dcebe1af73ac80a58c..7188c35c7f3575a71c8a9cd4af98f83db0d561cf 100644 (file)
@@ -1,11 +1,11 @@
 #
 # Conditional build:
-%bcond_without bridge_hotkey           # disable the engine symbol & hotkeys
+%bcond_with    bridge_hotkey           # enable the engine hotkeys
 #
 Summary:       The Anthy engine for IBus input platform
 Name:          ibus-anthy
 Version:       1.2.6
-Release:       0.2
+Release:       0.3
 License:       GPL v2+
 Group:         Libraries
 Source0:       http://ibus.googlecode.com/files/%{name}-%{version}.tar.gz
@@ -14,7 +14,7 @@ Patch1:               %{name}-xx-icon-symbol.patch
 URL:           http://code.google.com/p/ibus/
 BuildRequires: anthy-devel
 BuildRequires: gettext-devel
-%{?with_bridge_hotkey:BuildRequires:  ibus}
+BuildRequires:  ibus
 BuildRequires: intltool
 BuildRequires: libtool
 BuildRequires: pkgconfig
@@ -34,16 +34,12 @@ from libanthy.
 
 %prep
 %setup -q
-%{?with_bridge_hotkey:%patch1 -p1}
+%patch1 -p1
 
 %build
-%if %{with bridge_hotkey}
 %{__autoconf}
 %configure \
-       --with-hotkeys
-%else
-%configure
-%endif
+       %{?with_bridge_hotkey:--with-hotkeys}
 
 %{__make}
 
This page took 0.087688 seconds and 4 git commands to generate.