From ab35867f883d9fa854d3f1ab78e90f4741fa9610 Mon Sep 17 00:00:00 2001 From: Brad Bell Date: Mar 02 2015 13:47:14 +0000 Subject: 1: Advance to 20150000.9 version of upstream source to fix some bugs. 2: Remove patch of test_more/optimize.cpp which is no longer necessary. 3: Add Provides coin-or-cppad; see https://bugzilla.redhat.com/show_bug.cgi?id=1197488 --- diff --git a/.gitignore b/.gitignore index 5b03613..1b15bd1 100644 --- a/.gitignore +++ b/.gitignore @@ -2,14 +2,18 @@ *.swp # ignore rpm files created by fedpkg srpm *.rpm +# ignore log files created by fedpkg local +*.log # ignore result drectory created by fedpkg mockbuild results_cppad -# tarballs -cppad-20110101.5.gpl.tgz -cppad-20120101.1.gpl.tgz -/cppad-20130000.0.gpl.tgz -/cppad-20130000.1.gpl.tgz -/cppad-20130000.2.gpl.tgz -/cppad-20130000.3.gpl.tgz -/cppad-20140000.2.gpl.tgz -/cppad-20150000.4.gpl.tgz +# +# ignore tarballs and results of fedpkg local +# +cppad-20150000.4.gpl.tgz +cppad-20150000.4 +# +cppad-20150000.9.gpl.tgz +cppad-20150000.9 +# --------------------------------------------------------------------------- +# Running fedpkg new-sources may create entries below the line of dashes. +# Edit these entries to be above the line of dashes. diff --git a/cppad.spec b/cppad.spec index 3171953..7ba400e 100644 --- a/cppad.spec +++ b/cppad.spec @@ -15,8 +15,8 @@ # ---------------------------------------------------------------------------- Name: cppad -Version: 20150000.4 -Release: 3%{?dist} +Version: 20150000.9 +Release: 1%{?dist} Summary: C++ Algorithmic Differentiation (AD), %{name}-devel and %{name}-doc # Only noarch.rpms provided. The user can compile with or without debugging @@ -30,6 +30,11 @@ Source: http://www.coin-or.org/download/source/CppAD/%{name}-%{version}.gpl.tgz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: cmake >= 2.8 +# Requested by bug report +# https://bugzilla.redhat.com/show_bug.cgi?id=1197488 +Provides: coin-or-cppad = %{version}-%{release} +Provides: coin-or-cppad-devel = %{version}-%{release} + %description C++ Algorithmic Differentiation (AD), see %{name}-devel, %{name}-doc. @@ -90,12 +95,6 @@ sed \ -e 's|ADD_LIBRARY(speed_src|& STATIC|' \ -i.stamp speed/src/CMakeLists.txt -# Fix an exact equal check that should be a near equal check. This should -# be fixed in the upstream source and not necessary next year; i.e, 2016. -sed \ --e 's|(y\[i\] == check\[i\])|CppAD::NearEqual(y[i], check[i], 1e-10, 1e-10)|' \ - -i.stamp test_more/optimize.cpp - # Remove installation of cppad_colpack.cpp becasue it is not used # by the Fedora installation. This should be fixed in the upstream source # and not necessary next year; i.e., 2016. @@ -168,6 +167,11 @@ make check # ---------------------------------------------------------------------------- %changelog +* Mon Mar 02 2015 Brad Bell - 20150000.9-1 +- 1: Advance to newer version of upstream source to fix some bugs. +- 2: Remove patch of test_more/optimize.cpp which is no longer necessary. +- 3: Add Provides coin-or-cppad. + * Mon Feb 09 2015 Brad Bell - 20150000.4-3 - 1: Change std=c++11 to std=c++98 so works with rel6 (also so works - in f20 and f21 when std=c++11 is not specified). diff --git a/sources b/sources index 8149c3f..8a00781 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -1720334972913771209883efd384ea0a cppad-20150000.4.gpl.tgz +f32ea7faf6fd4417b5fb4cd9ed9b5542 cppad-20150000.9.gpl.tgz