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
This commit is contained in:
parent
3739095df0
commit
ab35867f88
3 changed files with 26 additions and 18 deletions
20
cppad.spec
20
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 <bradbell at seanet dot com> - 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 <bradbell at seanet dot com> - 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).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue