rpms/cppad/F-7 cppad.spec,1.3,1.4

Bradley M. Bell (bradbell) fedora-extras-commits at redhat.com
Sat Jan 12 15:08:09 UTC 2008


Author: bradbell

Update of /cvs/pkgs/rpms/cppad/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7969

Modified Files:
	cppad.spec 
Log Message:
copy changes from F-8 branch


Index: cppad.spec
===================================================================
RCS file: /cvs/pkgs/rpms/cppad/F-7/cppad.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- cppad.spec	9 Jan 2008 12:19:42 -0000	1.3
+++ cppad.spec	12 Jan 2008 15:07:32 -0000	1.4
@@ -13,7 +13,7 @@
 # ---------------------------------------------------------------------------- 
 Name: cppad
 Version: 20071229
-Release: 3%{?dist}
+Release: 6%{?dist}
 Summary: %{name} base package (not installed)
 
 Group: Development/Libraries 
@@ -54,17 +54,30 @@
 %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
+
+# See Sat Jan 12 2008  log entry
+sed -i.stamp speed/example/example.cpp -e '/Run(speed_test,/d'
+
+# 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
@@ -73,7 +86,6 @@
 
 %check
 example/example 
-introduction/exp_apx/exp_apx
 test_more/test_more
 speed/cppad/cppad     correct 123
 speed/double/double   correct 123
@@ -95,15 +107,30 @@
 
 # ----------------------------------------------------------------------------
 %changelog
+* Sat Jan 12 2008  Brad Bell <bradbell at seanet dot com> 20071229-6
+- Remove speed estimation correctness test because we are not in control of 
+- which other jobs are on the machine that is doing the rpmbuild.
+
+* Fri Jan 11 2008  Brad Bell <bradbell at seanet dot com> 20071229-5
+- Remove introduction/exp_apx/exp_apx from the set of tests 
+- (which should have been done in 20071229-4). 
+- From now on test building rpm locally before making tags.
+
+* 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 (it only checks by hand calculations that are in 
+- AD Introduction 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 
-changes. It appears tag was partially created, but not sure it is correct.
-So I am bumping the version number. 
+- 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
-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.
+- 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.
 
 * Sat Dec 29 2007  Brad Bell <bradbell at seanet dot com> 20071229-1
 - Fix gpl_license.sh in upstream source (missed some special cases).




More information about the fedora-extras-commits mailing list