From 52481a1ce686b1b99c9449ae6815272a9c184304 Mon Sep 17 00:00:00 2001 From: GĂ©rard Milmeister Date: Feb 22 2007 17:22:04 +0000 Subject: added fix for using opt flags --- diff --git a/gauche-gtk.spec b/gauche-gtk.spec index 7c75ec3..2529d0f 100644 --- a/gauche-gtk.spec +++ b/gauche-gtk.spec @@ -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 @@ Gauche extension module to use GTK. %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 --syslibdir` 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 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Thu Feb 22 2007 Gerard Milmeister - 0.4.1-11 +- added fix for using opt flags + * Thu Jan 18 2007 Gerard Milmeister - 0.4.1-10 - rebuild for gauche 0.8.9