rpms/cppad/F-8 cppad.spec,1.3,1.4
Bradley M. Bell (bradbell)
fedora-extras-commits at redhat.com
Thu Jan 10 18:37:51 UTC 2008
- Previous message (by thread): rpms/sword/devel sword-gcc43.patch, NONE, 1.1 sword.spec, 1.20, 1.21 sword-open.patch, 1.1, NONE
- Next message (by thread): rpms/kernel/devel linux-2.6-ext4-jbd2-patch-queue.patch, NONE, 1.1 linux-2.6-ext4-jbd2-support-patch-queue.patch, NONE, 1.1 kernel.spec, 1.352, 1.353
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: bradbell
Update of /cvs/pkgs/rpms/cppad/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5766
Modified Files:
cppad.spec
Log Message:
check machine epsilon
Index: cppad.spec
===================================================================
RCS file: /cvs/pkgs/rpms/cppad/F-8/cppad.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- cppad.spec 9 Jan 2008 12:19:49 -0000 1.3
+++ cppad.spec 10 Jan 2008 18:37:15 -0000 1.4
@@ -13,7 +13,7 @@
# ----------------------------------------------------------------------------
Name: cppad
Version: 20071229
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: %{name} base package (not installed)
Group: Development/Libraries
@@ -54,17 +54,27 @@
%prep
%setup -q
-# remove csetting of permissions in documentation destination directory
+# change example/example.cpp to print out machine epsilon
+cat << EOF > example.sed
+/^int main(void)/N
+s|^int main(void)\n{|# include <cfloat>\\
+int main(void)\\
+{ // print machine epsilon\\
+ std::cout << "DBL_EPSILON =" << DBL_EPSILON << std::endl;\\
+\\
+|
+EOF
+sed -i.stamp example/example.cpp -f example.sed
+
+# remove setting of permissions in documentation destination directory
sed -i.stamp makefile.am -e '/chmod -R .* $(docdir_3)/d'
sed -i.stamp makefile.in -e '/chmod -R .* $(docdir_3)/d'
%build
%configure --with-Documentation \
--with-Example \
- --with-Introduction \
--with-TestMore \
- --with-Speed \
- --with-Documentation
+ --with-Speed
make %{?_smp_mflags}
%install
@@ -95,13 +105,18 @@
# ----------------------------------------------------------------------------
%changelog
+* Thu Jan 10 2008 Brad Bell <bradbell at seanet dot com> 20071229-4
+Add code to print out DBL_EPSILON at the beginning of the example tests.
+Remove --with-Introduction (these tests only check by hand calculations in the
+AD Introcution section of the documentation). Remove extra --with-Documentation
+
* Wed Jan 09 2008 Brad Bell <bradbell at seanet dot com> 20071229-3
-I mistakenly tried to make tag 20071229-2 in devel before commiting local
+I mistakenly tried to make tag 20071229-2 in devel before committing local
changes. It appears tag was partially created, but not sure it is correct.
So I am bumping the version number.
* Wed Jan 09 2008 Brad Bell <bradbell at seanet dot com> 20071229-2
-Cygwin's verison of md5sum puts a <space><star> between the check sum
+Cygwin's version of md5sum puts a <space><star> between the check sum
and the file name. Fedora build tools expect two spaces, so the star has
was changed to a space in the devel, F-7, and F-8 sources file.
- Previous message (by thread): rpms/sword/devel sword-gcc43.patch, NONE, 1.1 sword.spec, 1.20, 1.21 sword-open.patch, 1.1, NONE
- Next message (by thread): rpms/kernel/devel linux-2.6-ext4-jbd2-patch-queue.patch, NONE, 1.1 linux-2.6-ext4-jbd2-support-patch-queue.patch, NONE, 1.1 kernel.spec, 1.352, 1.353
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list