[scim-sayura] - Fix FTBFS - Drop provides and obsoletes
paragn
paragn at fedoraproject.org
Tue Sep 7 07:59:55 UTC 2010
commit b5fd3eeccb5cb8a9b36219b2312401f2fce1b6bc
Author: paragn <paragn at fedoraproject.org>
Date: Tue Sep 7 13:33:42 2010 +0530
- Fix FTBFS
- Drop provides and obsoletes
scim-sayura-0.3.0-fix-constructor.patch | 11 +++++++++++
scim-sayura.spec | 12 ++++++++----
2 files changed, 19 insertions(+), 4 deletions(-)
---
diff --git a/scim-sayura-0.3.0-fix-constructor.patch b/scim-sayura-0.3.0-fix-constructor.patch
new file mode 100644
index 0000000..2455179
--- /dev/null
+++ b/scim-sayura-0.3.0-fix-constructor.patch
@@ -0,0 +1,11 @@
+--- scim-sayura-0.3.0.orig/src/scim_sinhala_imengine.cpp 2008-05-10 00:15:11.000000000 +0530
++++ scim-sayura-0.3.0/src/scim_sinhala_imengine.cpp 2010-09-07 13:25:31.000000000 +0530
+@@ -234,7 +234,7 @@
+
+ void SinhalaInstance::backspace ()
+ {
+- KeyEvent e = scim::KeyEvent::KeyEvent(SCIM_KEY_BackSpace, 0);
++ KeyEvent e = scim::KeyEvent(SCIM_KEY_BackSpace, 0);
+ forward_key_event(e);
+ }
+
diff --git a/scim-sayura.spec b/scim-sayura.spec
index 1ccc704..b00aee9 100644
--- a/scim-sayura.spec
+++ b/scim-sayura.spec
@@ -1,23 +1,23 @@
Name: scim-sayura
Version: 0.3.0
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: Sri Lankan input method for SCIM
Group: System Environment/Libraries
License: GPLv2
URL: http://sinhala.sourceforge.net/
Source: http://sinhala.sourceforge.net/files/%{name}-%{version}.tar.gz
+Patch0: scim-sayura-0.3.0-fix-constructor.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: scim-devel
Requires: scim
-# remove provides in fedora 12
-Provides: scim-sinhala = %{version}-%{release}
-Obsoletes: scim-sinhala < 0.3.0-2
+
%description
This package provides a Sinhala Trans input method for SCIM.
%prep
%setup -q
+%patch0 -p1 -b .fix-constructor
%build
%configure --disable-static
@@ -43,6 +43,10 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Tue Sep 07 2010 Parag Nemade <paragn AT fedoraproject.org> - 0.3.0-5
+- Fix FTBFS
+- Drop provides and obsoletes
+
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.3.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
More information about the scm-commits
mailing list