diff --git a/.cvsignore b/.cvsignore index 9147c6d..3f6bdfd 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -mathomatic-14.1.4.tar.bz2 +mathomatic-14.2.8.tar.bz2 diff --git a/mathomatic-14.1.4-build.patch b/mathomatic-14.1.4-build.patch deleted file mode 100644 index 3b3b0cd..0000000 --- a/mathomatic-14.1.4-build.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff -uNr -x '*~' mathomatic-14.1.4.orig/makefile mathomatic-14.1.4/makefile ---- mathomatic-14.1.4.orig/makefile 2008-08-09 02:35:29.000000000 +0200 -+++ mathomatic-14.1.4/makefile 2008-08-22 20:46:07.000000000 +0200 -@@ -2,7 +2,8 @@ - # Currently uses gcc only options in CFLAGS, just remove them for other C compilers. - - VERSION = `cat VERSION` --CFLAGS += -O2 -Wuninitialized -Wunused -Wshadow -Wformat -Wparentheses # gcc specific flags -+OPTFLAGS ?= -O2 -+CFLAGS += $(OPTFLAGS) -Wuninitialized -Wunused -Wshadow -Wformat -Wparentheses # gcc specific flags - CFLAGS += -DUNIX -DVERSION=\"$(VERSION)\" # C compiler flags - LIBS += -lm # libraries to link - -@@ -81,7 +82,7 @@ - install -d $(docdir)/mathomatic/factorial - install -d $(prefix)/share/applications - install -d $(prefix)/share/pixmaps -- install -m 0755 -s $(AOUT) $(bindir) -+ install -m 0755 $(AOUT) $(bindir) - install -m 0644 $(MAN1) $(mandir)/man1 - install -m 0644 $(DOCS) $(docdir)/mathomatic - install -m 0644 doc/* $(docdir)/mathomatic/html diff --git a/mathomatic-14.2.8-build.patch b/mathomatic-14.2.8-build.patch new file mode 100644 index 0000000..03b1d2e --- /dev/null +++ b/mathomatic-14.2.8-build.patch @@ -0,0 +1,12 @@ +--- mathomatic-14.2.8/makefile~ 2009-01-03 13:01:27.000000000 +0100 ++++ mathomatic-14.2.8/makefile 2009-01-05 12:18:10.000000000 +0100 +@@ -2,7 +2,8 @@ + # Currently uses gcc only options in CFLAGS, just remove them for other C compilers. + + VERSION = `cat VERSION` +-CFLAGS += -O2 -Wuninitialized -Wunused -Wshadow -Wformat -Wparentheses -Wno-char-subscripts # gcc specific flags ++OPTFLAGS ?= -O2 ++CFLAGS += $(OPTFLAGS) -Wuninitialized -Wunused -Wshadow -Wformat -Wparentheses -Wno-char-subscripts # gcc specific flags + #CFLAGS += -Wall # Copy cproto.h to proto.h to compile with -Wall with no complaints. + CFLAGS += -DUNIX -DVERSION=\"$(VERSION)\" # C compiler flags + LDLIBS += -lm # libraries to link diff --git a/mathomatic.spec b/mathomatic.spec index ac512de..d168ed6 100644 --- a/mathomatic.spec +++ b/mathomatic.spec @@ -1,12 +1,12 @@ Summary: Small, portable symbolic math program Name: mathomatic -Version: 14.1.4 +Version: 14.2.8 Release: 1%{?dist} License: LGPLv2 Group: Applications/Engineering URL: http://www.mathomatic.org/ Source0: http://www.panix.com/~gesslein/%{name}-%{version}.tar.bz2 -Patch0: mathomatic-14.1.4-build.patch +Patch0: mathomatic-14.2.8-build.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: desktop-file-utils readline-devel @@ -71,6 +71,9 @@ pushd primes %{_mandir}/man1/matho-sumsq.1* %changelog +* Mon Jan 5 2009 Terje Rosten - 14.2.8-1 +- 14.2.8 + * Fri Aug 22 2008 Terje Rosten - 14.1.4-1 - 14.1.4 - add build patch (add optflags, dont strip) diff --git a/sources b/sources index 553f781..fe14ea1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -85f5c734d4843fe41127366b07066e7e mathomatic-14.1.4.tar.bz2 +99decea11fb050167fff2e89d63d7503 mathomatic-14.2.8.tar.bz2