packages: ibus-anthy/ibus-anthy.spec - fix bridge_hotkey bcond, enable anly...

baggins baggins at pld-linux.org
Wed Jul 20 12:42:43 CEST 2011


Author: baggins                      Date: Wed Jul 20 10:42:43 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix bridge_hotkey bcond, enable anly what's needed for ibus 1.4

---- Files affected:
packages/ibus-anthy:
   ibus-anthy.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: packages/ibus-anthy/ibus-anthy.spec
diff -u packages/ibus-anthy/ibus-anthy.spec:1.3 packages/ibus-anthy/ibus-anthy.spec:1.4
--- packages/ibus-anthy/ibus-anthy.spec:1.3	Wed Jul 20 12:18:15 2011
+++ packages/ibus-anthy/ibus-anthy.spec	Wed Jul 20 12:42:38 2011
@@ -1,12 +1,12 @@
 # $Revision$, $Date$
 #
 # 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
@@ -15,7 +15,7 @@
 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
@@ -35,16 +35,12 @@
 
 %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}
 
@@ -75,6 +71,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2011/07/20 10:42:38  baggins
+- fix bridge_hotkey bcond, enable anly what's needed for ibus 1.4
+
 Revision 1.3  2011/07/20 10:18:15  baggins
 - cosmetics
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ibus-anthy/ibus-anthy.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list