Here is a small patch for those systems that don't set LINGUAS, so that
the RPM still builds properly.

-- 
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.241
diff -u -r1.241 ChangeLog
--- ChangeLog   2000/03/10 19:32:14     1.241
+++ ChangeLog   2000/03/11 17:12:19
@@ -1,3 +1,8 @@
+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/11 17:12:19
@@ -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