rpms/cppad/F-11 cppad.spec,1.13,1.14
Bradley M. Bell
bradbell at fedoraproject.org
Mon Jun 8 12:55:07 UTC 2009
Author: bradbell
Update of /cvs/pkgs/rpms/cppad/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv20773
Modified Files:
cppad.spec
Log Message:
copy changes from devel branch
Index: cppad.spec
===================================================================
RCS file: /cvs/pkgs/rpms/cppad/F-11/cppad.spec,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -p -r1.13 -r1.14
--- cppad.spec 31 Mar 2009 06:17:44 -0000 1.13
+++ cppad.spec 8 Jun 2009 12:54:37 -0000 1.14
@@ -16,7 +16,7 @@
Name: cppad
Version: 20090303.0
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: No base package is installed, see %{name}-devel
Group: Development/Libraries
@@ -62,6 +62,16 @@ as a single web page, in both html and x
%prep
%setup -q
+# Patch problems fix in trunk on 20090606, but not yet in any release
+# This grep should fail once the version passes 20090606
+grep 'x\[2\] = 5.0; x\[2\] = 5.0;' test_more/jacobian.cpp
+# This patch will no longer be needed once the version passes 20090606
+sed -i.stamp test_more/jacobian.cpp \
+ -e 's/x\[2\] = 5.0; x\[2\] = 5.0;/x[1] = 5.0; x[2] = 5.0;/'
+# This patch will no longer be needed once the version passes 20090606
+sed -i.stamp cppad/local/default.hpp \
+ -e 's/AD<Base>::AD(void) :/& value_(Base(0)), /'
+
# change example/example.cpp to print out machine epsilon
cat << EOF > example.sed
/^int main(void)/N
@@ -120,12 +130,17 @@ rm -rf $RPM_BUILD_ROOT
# ----------------------------------------------------------------------------
%changelog
-* Mon Mar 30 2009 Brad Bell <bradbell at seanet do com> 20080303-2
+* Mon Jun 06 2009 Brad Bell <bradbell at seanet dot com> 20090303-3
+- Patch file test_more/jacobian.cpp (required for versions below 20090606).
+- Patch file cppad/local/default.hpp (required for versions below 20090606).
+- Fix version (change 20080303 to 20090303) in previous two log entries.
+
+* Mon Mar 30 2009 Brad Bell <bradbell at seanet dot com> 20090303-2
- Change tabs to spaces in spec file to avoid an rpmlint warning.
- The base package in previous release had no files, hence did not exist.
- Use Provides: in cppad-devel to indicate that it provides cppad.
-* Sun Mar 29 2009 Brad Bell <bradbell at seanet dot com> 20080303-1
+* Sun Mar 29 2009 Brad Bell <bradbell at seanet dot com> 20090303-1
- Change to newer version of cppad.
- Create a base package that requres both devel and doc sub-packages
More information about the fedora-extras-commits
mailing list