rpms/kazehakase/devel kazehakase.spec,1.15,1.16

Mamoru Tasaka (mtasaka) fedora-extras-commits at redhat.com
Mon Jun 4 18:41:18 UTC 2007


Author: mtasaka

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

Modified Files:
	kazehakase.spec 
Log Message:
* Tue Jun  5 2007 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 0.4.7-2
- Parse GLib version dependency 



Index: kazehakase.spec
===================================================================
RCS file: /cvs/extras/rpms/kazehakase/devel/kazehakase.spec,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- kazehakase.spec	29 May 2007 15:37:06 -0000	1.15
+++ kazehakase.spec	4 Jun 2007 18:40:38 -0000	1.16
@@ -1,5 +1,5 @@
 %if 0%{?fedora} == 8
-%define		FFver           2.0.0.4
+%define		FFver		2.0.0.4
 %endif
 %if 0%{?fedora} == 7
 %define		FFver		2.0.0.4
@@ -26,7 +26,7 @@
 
 Name:		kazehakase
 Version:	0.4.7
-Release:	1%{?dist}
+Release:	2%{?dist}
 Summary:	Kazehakase browser
 
 Group:		Applications/Internet
@@ -56,6 +56,16 @@
 BuildRequires:	desktop-file-utils
 BuildRequires:	gettext
 
+# GLib version dependency
+# Borrowed from pidgin spec file
+
+# Require Binary Compatible glib
+# returns bogus value if glib2-devel is not installed in order for parsing to succeed
+# bogus value wont make it into a real package
+%define glib_ver %([ -a %{_libdir}/pkgconfig/glib-2.0.pc ] && pkg-config --modversion glib-2.0 | cut -d. -f 1,2 || echo -n "999")
+BuildRequires:	glib2-devel >= %{glib_ver}
+Requires:	glib2 >= %{glib_ver}
+
 %if 0%{?fedora} == 5
 BuildRequires:	seamonkey-devel %{?SMver:= %{SMver}}
 BuildRequires:	seamonkey %{?SMver:= %{SMver}}
@@ -204,6 +214,9 @@
 %endif
 
 %changelog
+* Tue Jun  5 2007 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 0.4.7-2
+- Parse GLib version dependency 
+
 * Wed May 30 2007 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 0.4.7-1
 - 0.4.7
 




More information about the scm-commits mailing list