rpms/gauche-gtk/devel gauche-gtk.spec,1.4,1.5

Gérard Milmeister (gemi) fedora-extras-commits at redhat.com
Thu Feb 22 17:22:36 UTC 2007


Author: gemi

Update of /cvs/extras/rpms/gauche-gtk/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21176/devel

Modified Files:
	gauche-gtk.spec 
Log Message:
added fix for using opt flags


Index: gauche-gtk.spec
===================================================================
RCS file: /cvs/extras/rpms/gauche-gtk/devel/gauche-gtk.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- gauche-gtk.spec	18 Jan 2007 19:35:32 -0000	1.4
+++ gauche-gtk.spec	22 Feb 2007 17:22:04 -0000	1.5
@@ -2,7 +2,7 @@
 
 Name:           gauche-gtk
 Version:        0.4.1
-Release:        10%{?dist}
+Release:        11%{?dist}
 Summary:	Gauche extension module to use GTK
 
 Group:          Development/Languages
@@ -31,8 +31,9 @@
 
 
 %build
-CFLAGS="`pkg-config --cflags freetype2` -fPIC" %configure --enable-gtkgl --enable-glgd --enable-glgd-pango
-make %{?_smp_mflags}
+CFLAGS="$RPM_OPT_FLAGS `pkg-config --cflags freetype2` -fPIC" \
+%configure --enable-gtkgl --enable-glgd --enable-glgd-pango
+make %{?_smp_mflags} OPTFLAGS=
 
 
 %install
@@ -41,6 +42,8 @@
 mkdir -p $RPM_BUILD_ROOT`gauche-config --sysarchdir`
 make install DESTDIR=$RPM_BUILD_ROOT
 find $RPM_BUILD_ROOT -name '*.so' -exec chmod 0755 '{}' ';'
+chmod -c 644 */*.c # for debuginfo
+
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -54,6 +57,9 @@
 
 
 %changelog
+* Thu Feb 22 2007 Gerard Milmeister <gemi at bluewin.ch> - 0.4.1-11
+- added fix for using opt flags
+
 * Thu Jan 18 2007 Gerard Milmeister <gemi at bluewin.ch> - 0.4.1-10
 - rebuild for gauche 0.8.9
 




More information about the scm-commits mailing list