[Fedora-i18n-bugs] [ibus-hangul] Update to 1.3.1-2.

Daiki Ueno ueno at fedoraproject.org
Tue Apr 5 08:20:56 UTC 2011


commit 89ae1d36c26ea47aeff46ebb78f24e91914c94a0
Author: Daiki Ueno <ueno at unixuser.org>
Date:   Tue Apr 5 17:20:39 2011 +0900

    Update to 1.3.1-2.

 ...ul-gvariant.patch => ibus-hangul-ibus-1.4.patch |    0
 ibus-hangul.spec                                   |   18 +++++++++---------
 2 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/ibus-hangul-gvariant.patch b/ibus-hangul-ibus-1.4.patch
similarity index 100%
rename from ibus-hangul-gvariant.patch
rename to ibus-hangul-ibus-1.4.patch
diff --git a/ibus-hangul.spec b/ibus-hangul.spec
index 121d24f..19da26f 100644
--- a/ibus-hangul.spec
+++ b/ibus-hangul.spec
@@ -3,15 +3,13 @@
 
 Name:       ibus-hangul
 Version:    1.3.1
-Release:    1%{?dist}
+Release:    2%{?dist}
 Summary:    The Hangul engine for IBus input platform
 License:    GPLv2+
 Group:      System Environment/Libraries
 URL:        http://code.google.com/p/ibus/
 Source0:    http://ibus.googlecode.com/files/%{name}-%{version}.tar.gz
-Patch0:	    ibus-hangul-gvariant.patch
-
-BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Patch0:     ibus-hangul-ibus-1.4.patch
 
 BuildRequires:  gettext-devel
 BuildRequires:  intltool
@@ -29,7 +27,9 @@ libhangul.
 
 %prep
 %setup -q
-%patch0 -p1
+%if 0%{?fedora} >= 15
+%patch0 -p1 -b .ibus-1.4
+%endif
 
 %build
 %configure --disable-static
@@ -37,14 +37,10 @@ libhangul.
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
 make DESTDIR=${RPM_BUILD_ROOT} install
 
 %find_lang %{name}
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files -f %{name}.lang
 %defattr(-,root,root,-)
 %doc AUTHORS COPYING README
@@ -54,6 +50,10 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/ibus/component/*
 
 %changelog
+* Mon Apr  4 2011 Daiki Ueno <dueno at redhat.com> - 1.3.1-2
+- Apply ibus-1.4 patch conditionally for SRPM compatibility.
+- Drop buildroot, %%clean and cleaning of buildroot in %%install
+
 * Mon Feb 28 2011 Daiki Ueno <dueno at redhat.com> - 1.3.1-1
 - Update version to 1.3.1.
 


More information about the i18n-bugs mailing list