rpms/octave/FC-5 octave-2.9.5-lex.patch, NONE, 1.1 octave.spec, 1.35, 1.36

Quentin Spencer (qspencer) fedora-extras-commits at redhat.com
Wed May 3 14:14:35 UTC 2006


Author: qspencer

Update of /cvs/extras/rpms/octave/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10035

Modified Files:
	octave.spec 
Added Files:
	octave-2.9.5-lex.patch 
Log Message:
Bug fix and spec file changes.

octave-2.9.5-lex.patch:

--- NEW FILE octave-2.9.5-lex.patch ---
src/ChangeLog:

2006-05-02  John W. Eaton  <jwe at octave.org>

	* lex.l ({CCHAR}): Exit rawcommand mode if returning '\n' token.


Index: src/lex.l
===================================================================
RCS file: /cvs/octave/src/lex.l,v
retrieving revision 1.232
diff -u -r1.232 lex.l
--- src/lex.l	24 Apr 2006 19:13:08 -0000	1.232
+++ src/lex.l	2 May 2006 23:31:14 -0000
@@ -696,7 +696,10 @@
       BEGIN (INITIAL);
 
     if (nesting_level.none ())
-      COUNT_TOK_AND_RETURN ('\n');
+      {
+	lexer_flags.doing_rawcommand = false;
+	COUNT_TOK_AND_RETURN ('\n');
+      }
     else if (nesting_level.is_bracket_or_brace ())
       COUNT_TOK_AND_RETURN (';');
   }


Index: octave.spec
===================================================================
RCS file: /cvs/extras/rpms/octave/FC-5/octave.spec,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- octave.spec	21 Apr 2006 17:10:12 -0000	1.35
+++ octave.spec	3 May 2006 14:14:35 -0000	1.36
@@ -1,6 +1,6 @@
 Name:           octave
 Version:        2.9.5
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        A high-level language for numerical computations
 Epoch:          6
 
@@ -9,6 +9,7 @@
 Source:         ftp://ftp.octave.org/pub/octave/bleeding-edge/octave-%{version}.tar.bz2
 Patch0:         octave-2.9.5-sparse.patch
 Patch1:         octave-2.9.5-config.patch
+Patch2:         octave-2.9.5-lex.patch
 URL:            http://www.octave.org
 Requires:       gnuplot less info texinfo 
 Requires(post): /sbin/install-info
@@ -53,6 +54,7 @@
 %setup -q
 %patch0 -p0
 %patch1 -p0
+%patch2 -p0
 
 
 %build
@@ -69,7 +71,6 @@
 %install
 rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT
-strip $RPM_BUILD_ROOT/usr/libexec/octave/%{version}/oct/*/*.oct
 rm -f ${RPM_BUILD_ROOT}%{_infodir}/dir
 
 # Make library links
@@ -135,6 +136,10 @@
 
 
 %changelog
+* Wed May  3 2006 Quentin Spencer <qspencer at users.sourceforge.net> 2.9.5-3
+- Add patch for bug #190481
+- Manually stripping of .oct files is no longer necessary.
+
 * Fri Apr 21 2006 Quentin Spencer <qspencer at users.sourceforge.net> 2.9.5-2
 - Use updated sparse patch from development tree.
 




More information about the fedora-extras-commits mailing list