Compare commits
2 commits
rawhide
...
cppad-2010
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c6881981f6 | ||
|
|
69822d22ac |
4 changed files with 10 additions and 17 deletions
|
|
@ -1 +1 @@
|
||||||
cppad-20100101.0.gpl.tgz
|
cppad-20100101.2.gpl.tgz
|
||||||
|
|
|
||||||
1
branch
Normal file
1
branch
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
F-13
|
||||||
22
cppad.spec
22
cppad.spec
|
|
@ -11,8 +11,8 @@
|
||||||
# ----------------------------------------------------------------------------
|
# ----------------------------------------------------------------------------
|
||||||
|
|
||||||
Name: cppad
|
Name: cppad
|
||||||
Version: 20100101.0
|
Version: 20100101.2
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: No base package is installed, see %{name}-devel
|
Summary: No base package is installed, see %{name}-devel
|
||||||
|
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
|
|
@ -58,19 +58,6 @@ as a single web page, in both html and xml, can be found at that web site.
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
# Bug fix in revision https://projects.coin-or.org/CppAD/changeset/1647
|
|
||||||
if [ %{version} != "20100101.0" ]
|
|
||||||
then
|
|
||||||
echo "This bug fix should no longer be necessary"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
#
|
|
||||||
sed -i cppad/local/optimize.hpp \
|
|
||||||
-e 's|(new_arg\[0\] == tape\[k\].new_var );|(new_arg[0] == tape[k].new_var )|'
|
|
||||||
#
|
|
||||||
sed -i cppad/local/print_op.hpp \
|
|
||||||
-e 's|( arg\[1\] < i_z );|( arg\[1\] <= i_z );|'
|
|
||||||
|
|
||||||
# change example/example.cpp to print out machine epsilon
|
# change example/example.cpp to print out machine epsilon
|
||||||
cat << EOF > example.sed
|
cat << EOF > example.sed
|
||||||
/^int main(void)/N
|
/^int main(void)/N
|
||||||
|
|
@ -131,6 +118,11 @@ rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
# ----------------------------------------------------------------------------
|
# ----------------------------------------------------------------------------
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Mar 31 2010 Brad Bell <bradbell at seanet dot com> - 20100101.2-1
|
||||||
|
- Use new upstream source with bug fixes at revision
|
||||||
|
- https://projects.coin-or.org/CppAD/changeset/1664
|
||||||
|
- and remove patch from Wed Feb 10 2010.
|
||||||
|
|
||||||
* Wed Feb 10 2010 Brad Bell <bradbell at seanet dot com> - 20100101.0-2
|
* Wed Feb 10 2010 Brad Bell <bradbell at seanet dot com> - 20100101.0-2
|
||||||
- Patch sources for bug fix between 20100101.0 and 20100101.1.
|
- Patch sources for bug fix between 20100101.0 and 20100101.1.
|
||||||
- This should no longer be necessary once a new upstream source is loaded.
|
- This should no longer be necessary once a new upstream source is loaded.
|
||||||
|
|
|
||||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
||||||
4886174196fbd7745f30ec3c320a6975 cppad-20100101.0.gpl.tgz
|
9947413be80ab9e8fb3a7b225c144d63 cppad-20100101.2.gpl.tgz
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue