[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/kazehakase/devel kazehakase.spec,1.10,1.11



Author: mtasaka

Update of /cvs/extras/rpms/kazehakase/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13299

Modified Files:
	kazehakase.spec 
Log Message:
* Tue May 22 2007 Mamoru Tasaka <mtasaka ioa s u-tokyo ac jp> - 0.4.6-3
- Workaround for glib 2.13.1+



Index: kazehakase.spec
===================================================================
RCS file: /cvs/extras/rpms/kazehakase/devel/kazehakase.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- kazehakase.spec	21 May 2007 17:09:10 -0000	1.10
+++ kazehakase.spec	22 May 2007 07:06:12 -0000	1.11
@@ -24,7 +24,7 @@
 
 Name:		kazehakase
 Version:	0.4.6
-Release:	2%{?dist}
+Release:	3%{?dist}
 Summary:	Kazehakase browser
 
 Group:		Applications/Internet
@@ -45,6 +45,7 @@
 BuildRequires:	mecab-devel
 %endif
 %if %{support_ruby}
+BuildRequires:	ruby(gettext-package)
 BuildRequires:	ruby(gtk2-devel)
 BuildRequires:	ruby(abi) = %{rubyabi}
 BuildRequires:	ruby
@@ -116,6 +117,16 @@
 %{__sed} -i.anthy -e '/^anthy_available/d' configure
 %endif
 
+# workaround for glib 2.13.1+
+set +x
+for f in `find . -name \*.c -or -name \*.h` ; do
+	if %{__grep} -q g_regex_match $f ; then
+		echo "... fixing $f ..."
+		%{__sed} -i.glib -e 's|g_regex_match|kazehakase_g_regex_match|g' $f
+	fi
+done
+set -x
+
 %build
 %configure \
 	--enable-migemo \
@@ -201,6 +212,9 @@
 %endif
 
 %changelog
+* Tue May 22 2007 Mamoru Tasaka <mtasaka ioa s u-tokyo ac jp> - 0.4.6-3
+- Workaround for glib 2.13.1+
+
 * Tue May 22 2007 Mamoru Tasaka <mtasaka ioa s u-tokyo ac jp> - 0.4.6-2
 - Support Ruby/Migemo
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]