[gauche-gtk/f15] Only patch the stub files on F-16+

Michel Alexandre Salim salimma at fedoraproject.org
Fri Sep 16 15:25:21 UTC 2011


commit 68a385ed955876cb80e5052893b29305e93e3855
Author: Michel Alexandre Salim <salimma at fedoraproject.org>
Date:   Fri Sep 16 17:24:54 2011 +0200

    Only patch the stub files on F-16+

 gauche-gtk.spec |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gauche-gtk.spec b/gauche-gtk.spec
index 6118d57..1df6ad9 100644
--- a/gauche-gtk.spec
+++ b/gauche-gtk.spec
@@ -63,7 +63,9 @@ autoconf
 CFLAGS="$RPM_OPT_FLAGS `pkg-config --cflags freetype2` -fPIC" \
 %configure --enable-gtkgl --enable-glgd --enable-glgd-pango
 make stubs
+%if 0%{?fedora} >= 16
 cat %{PATCH1} | patch -p1
+%endif
 sed -i 's/.*GTK_DISABLE_DEPRECATED.*//g' src/gtkwidget.stub
 make %{?_smp_mflags} OPTFLAGS=
 


More information about the scm-commits mailing list