From aec9557c45924e8e3fd233d5f3073fd694edd60c Mon Sep 17 00:00:00 2001 From: terjeros Date: Dec 05 2009 19:12:57 +0000 Subject: - 15.0.0 --- diff --git a/.cvsignore b/.cvsignore index 67ab227..ab8c477 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -mathomatic-14.3.1.tar.bz2 +mathomatic-15.0.0.tar.bz2 diff --git a/mathomatic-14.2.8-build.patch b/mathomatic-14.2.8-build.patch deleted file mode 100644 index 03b1d2e..0000000 --- a/mathomatic-14.2.8-build.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- 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-15.0.0-optflags.patch b/mathomatic-15.0.0-optflags.patch new file mode 100644 index 0000000..d189b75 --- /dev/null +++ b/mathomatic-15.0.0-optflags.patch @@ -0,0 +1,13 @@ +--- makefile~ 2009-11-15 12:11:22.000000000 +0100 ++++ makefile 2009-12-05 19:53:57.000000000 +0100 +@@ -5,8 +5,8 @@ + # This makefile does create and install all documentation. + + VERSION = `cat VERSION` +-CFLAGS += -Wall -Wshadow -Wno-char-subscripts -fomit-frame-pointer # gcc specific flags +-CFLAGS += -O -DUNIX -DVERSION=\"$(VERSION)\" ++OPTFLAGS += -O -Wall -Wshadow -Wno-char-subscripts -fomit-frame-pointer # gcc specific flags ++CFLAGS += $(OPTFLAGS) -DUNIX -DVERSION=\"$(VERSION)\" + LDLIBS += -lm # libraries to link + + # "make READLINE=1" to include readline support: diff --git a/mathomatic.spec b/mathomatic.spec index 3160965..863b9ba 100644 --- a/mathomatic.spec +++ b/mathomatic.spec @@ -1,12 +1,12 @@ Summary: Small, portable symbolic math program Name: mathomatic -Version: 14.3.1 -Release: 3%{?dist} +Version: 15.0.0 +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.2.8-build.patch +Patch0: mathomatic-15.0.0-optflags.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: desktop-file-utils readline-devel @@ -31,10 +31,10 @@ This package contains small math tools from mathomatic to %prep %setup -q -%patch0 -p1 +%patch0 -p0 %build -%{__make} %{?_smp_mflags} OPTFLAGS='%{optflags}' READLINE=1 prefix=%{_prefix} +%{__make} %{?_smp_mflags} OPTFLAGS="%{optflags}" READLINE=1 prefix=%{_prefix} pushd primes %{__make} %{?_smp_mflags} prefix=%{_prefix} CFLAGS="%{optflags}" @@ -71,6 +71,9 @@ pushd primes %{_mandir}/man1/matho-sumsq.1* %changelog +* Sat Dec 5 2009 Terje Rosten - 15.0.0-1 +- 15.0.0 + * Sat Jul 25 2009 Fedora Release Engineering - 14.3.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild diff --git a/sources b/sources index 475f515..0daef8d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -12d9b195cc6d92d65f26d407120cda8b mathomatic-14.3.1.tar.bz2 +147694e40acc58e83bb285904fdc834a mathomatic-15.0.0.tar.bz2