diff --git a/.cvsignore b/.cvsignore index f06b40c..f4fd648 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -cppad-20080403.gpl.tgz +cppad-20080826.0.gpl.tgz diff --git a/cppad.spec b/cppad.spec index 94f10e5..6e230ba 100644 --- a/cppad.spec +++ b/cppad.spec @@ -15,14 +15,14 @@ # ---------------------------------------------------------------------------- Name: cppad -Version: 20080403 -Release: 3%{?dist} +Version: 20080826.0 +Release: 1%{?dist} Summary: no base package is installed, see %{name}-devel and %{name}-doc Group: Development/Libraries License: GPLv2 URL: http://www.coin-or.org/CppAD/ -Source: http://www.coin-or.org/CppAD/download/%{name}-%{version}.gpl.tgz +Source: http://www.coin-or.org/download/source/CppAD/%{name}-%{version}.gpl.tgz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -57,11 +57,6 @@ the %{name}-devel package. %prep %setup -q -# fix errors errors found by newer version of gcc -sed -i.stamp speed/main.cpp \ - -e 's/^# include /# include \n&/' \ - -e 's/char \*option\[\]=/const &/' - # change example/example.cpp to print out machine epsilon cat << EOF > example.sed /^int main(void)/N @@ -100,10 +95,11 @@ make install DESTDIR=$RPM_BUILD_ROOT %check example/example test_more/test_more -speed/cppad/cppad correct 123 -speed/double/double correct 123 -speed/example/example correct 123 -speed/profile/profile correct 123 +speed/cppad/cppad correct 123 true +speed/cppad/cppad correct 123 false +speed/double/double correct 123 true +speed/example/example +speed/profile/profile correct 123 true %clean # cleanup @@ -120,6 +116,11 @@ rm -rf $RPM_BUILD_ROOT # ---------------------------------------------------------------------------- %changelog +* Tue Oct 08 2008 Brad Bell 20080826-1 +- Change to newer version of cppad. +- Change download directory to standard coin-or location. +- Remove editing of speed/main.cpp (no longer necessary). + * Fri Apr 04 2008 Brad Bell 20080403-3 - Patch speed/main.cpp work with newer version of gcc - (speed/main.cpp had not been tested with new version of gcc.) diff --git a/sources b/sources index 3464f74..6d3cfb8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -3e8c389e5097267410eb5c53241eb230 cppad-20080403.gpl.tgz +a9c7e2af215564f7ee097e8901af5e97 cppad-20080826.0.gpl.tgz