diff --git a/cppad.spec b/cppad.spec index 316f8eb..ba72ced 100644 --- a/cppad.spec +++ b/cppad.spec @@ -4,17 +4,20 @@ # ---------------------------------------------------------------------------- # Known Problems: # -# The cppad-doc package has the following rpmlint error: -# W: file-not-utf8 /usr/share/doc/cppad-%{version}/pmathmlcss.xsl -# This is the standard presentation MathML style sheet. Except for white -# space and a comment at the top, it is identical to -# http://www.w3.org/Math/XSL/pmathmlcss.xsl +# After installation of cppad-doc-%{version} the command +# rpmlint cppad-doc +# results in the following error message +# W: file-not-utf8 /usr/share/doc/cppad-%{version}/pmathmlcss.xsl +# The file pmathmlcss.xsl is the standard presentation MathML style sheet. +# Except for white space and a comment at the top, it is identical to +# http://www.w3.org/Math/XSL/pmathmlcss.xsl # (use wget and diff -b to see that this is true). # ---------------------------------------------------------------------------- + Name: cppad -Version: 20071229 -Release: 6%{?dist} -Summary: %{name} base package (not installed) +Version: 20080403 +Release: 1%{?dist} +Summary: no base package is installed, see %{name}-devel and %{name}-doc Group: Development/Libraries License: GPLv2 @@ -38,8 +41,8 @@ function values to an algorithm that computes derivative values as Algorithmic Differentiation (often referred to as Automatic Differentiation.) Given a C++ algorithm that computes function values, %{name} generates an algorithm that computes its derivative values. A brief introduction to -Algorithmic Differentiation (AD) can be found at -Wiki: http://en.wikipedia.org/wiki/Automatic_differentiation +Algorithmic Differentiation (AD) can be found at +http://en.wikipedia.org/wiki/Automatic_differentiation # ---------------------------------------------------------------------------- %package doc @@ -69,10 +72,15 @@ 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' +# Remove setting of permissions in documentation destination directory. +# Create the doc_prefix directory (if it does not already exist). +# (Note we are not using a postfix directory, so can overwrite its case.) +sed -i.stamp makefile.am \ + -e '/chmod -R .* $(doc_package)/d' +sed -i.stamp makefile.in \ + -e '/chmod -R .* $(doc_package)/d' + %build %configure --with-Documentation \ --with-Example \ @@ -107,6 +115,9 @@ rm -rf $RPM_BUILD_ROOT # ---------------------------------------------------------------------------- %changelog +* Thu Apr 03 2008 Brad Bell 20080403-1 +- New upstream version + * Sat Jan 12 2008 Brad Bell 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. diff --git a/sources b/sources index 7f52296..3464f74 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -4b90d026a80a66e00eea2a43931afaf6 cppad-20071229.gpl.tgz +3e8c389e5097267410eb5c53241eb230 cppad-20080403.gpl.tgz