Patch for libglademm.spec



Hello,

I used libglademm version 2.2.0 (and head of gnome-2-4 branch from CVS) and
found little bug in .spec file. Below is patch to correct it. I'm not in
the list, so please CC in answers.

Thanks.

--- libglademm.spec.in.orig     2003-09-28 20:23:14.000000000 +0200
+++ libglademm.spec.in  2004-12-04 10:26:52.000000000 +0100
@@ -43,12 +43,16 @@
                                                                                 
 # Needed for snapshot releases.
 if [ ! -f configure ]; then
-        CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh $ARCH_FLAGS \
+       export CFLAGS="$RPM_OPT_FLAGS";
+       export CXXFLAGS="$RPM_OPT_FLAGS";
+        ./autogen.sh $ARCH_FLAGS \
                 --prefix=%{prefix} \
                 --disable-static \
                 --enable-shared --enable-docs
 else
-        CFLAGS="$RPM_OPT_FLAGS" ./configure  $ARCH_FLAGS \
+       export CFLAGS="$RPM_OPT_FLAGS";
+       export CXXFLAGS="$RPM_OPT_FLAGS";
+        ./configure  $ARCH_FLAGS \
                 --prefix=%{prefix} \
                 --disable-maintainer-mode \
                 --disable-static \



--   

  Tomas Kasparek, PhD student  E-mail: kasparek fit vutbr cz
  CVT FIT VUT Brno, BI/140a    Web:    http://www.fit.vutbr.cz/~kasparek
  Bozetechova 2, 612 66        Fax:    +420 54114-1270
  Brno, Czech Republic         Phone:  +420 54114-1220

  ICQ: 293092805  jabber:tomas kasparek jabber cz
  GPG: 2F1E 1AAF FD3B CFA3 1537  63BD DCBE 18FF A035 53BC

Attachment: pgpTXxcYafbk1.pgp
Description: PGP signature



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