Without this fix, RPM compilation fails on systems where LINGUAS
is not set by default (Redhat 5.X and 6.0).

This fix still lets RH6.X (X >= 1) build the rpm without problems.

                        ---Kayvan
-- 
Kayvan A. Sylvan                   | Proud husband of      | Father to my kids:
Sylvan Associates, Inc.            | Laura Isabella Sylvan | Katherine Yelena
http://www.successlinks.com/kayvan | Reach your goals now! | Robin Gregory
Index: ChangeLog
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/ChangeLog,v
retrieving revision 1.243
diff -u -r1.243 ChangeLog
--- ChangeLog   2000/03/14 13:41:39     1.243
+++ ChangeLog   2000/03/14 17:45:05
@@ -32,7 +32,12 @@
 
        * src/insets/figinset.C: patch posted to list by Andre Poenitz
        applied. Changed to use iterators.
-       
+
+2000-03-11  Kayvan A. Sylvan  <[EMAIL PROTECTED]>
+
+       * development/lyx.spec.in: Fix to ``unset LINGUAS'' line for
+       systems that don't have LINGUAS set to begin with.
+
 2000-03-10  Lars Gullik Bjønnes  <[EMAIL PROTECTED]>
 
        * src/text2.C (DeleteEmptyParagraphMechanism): small fix posted to
Index: development/lyx.spec.in
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/development/lyx.spec.in,v
retrieving revision 1.5
diff -u -r1.5 lyx.spec.in
--- development/lyx.spec.in     2000/03/09 16:13:43     1.5
+++ development/lyx.spec.in     2000/03/14 17:45:06
@@ -36,12 +36,12 @@
 %setup
 
 %build
-unset LINGUAS
+unset LINGUAS || true
 CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr 
 make
 
 %install
-unset LINGUAS
+unset LINGUAS || true
 rm -rf ${RPM_BUILD_ROOT}
 install -d -m 755 ${RPM_BUILD_ROOT}
 make prefix=${RPM_BUILD_ROOT}/usr install

Reply via email to