Thanks for the pointers. Here is the right diff.
--
Kayvan A. Sylvan | Proud husband of | Father to my kids:
Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Index: development/ChangeLog
===================================================================
RCS file: /cvs/lyx/lyx-devel/development/ChangeLog,v
retrieving revision 1.23
diff -u -u -r1.23 ChangeLog
--- development/ChangeLog 2002/08/25 00:15:06 1.23
+++ development/ChangeLog 2002/10/21 18:21:39
@@ -1,3 +1,8 @@
+2002-10-21 Kayvan A. Sylvan <[EMAIL PROTECTED]>
+
+ * lyx.spec.in (CFLAGS, CXXFLAGS): Fixed to use configure
+ defaults instead of overriding them.
+
2002-08-23 Rob Lahaye <[EMAIL PROTECTED]>
* FORMAT: explain changes with new graphics dialog
Index: development/lyx.spec.in
===================================================================
RCS file: /cvs/lyx/lyx-devel/development/lyx.spec.in,v
retrieving revision 1.15
diff -u -u -r1.15 lyx.spec.in
--- development/lyx.spec.in 2002/05/24 07:42:03 1.15
+++ development/lyx.spec.in 2002/10/21 18:21:39
@@ -35,10 +35,9 @@
%build
unset LINGUAS || true
-CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS="$RPM_OPT_FLAGS" \
./configure --prefix=%{_prefix} --mandir=%{_mandir} \
--bindir=%{_bindir} --datadir=%{_datadir} \
- --without-warnings
+ --without-warnings --disable-debug --enable-optimization=-O2
make
%install
msg46757/pgp00000.pgp
Description: PGP signature