diff --git a/.gitignore b/.gitignore index af04631..a34bc20 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ cppad-20120101.1.gpl.tgz /cppad-20130000.1.gpl.tgz /cppad-20130000.2.gpl.tgz /cppad-20130000.3.gpl.tgz +/cppad-20140000.2.gpl.tgz diff --git a/cppad.spec b/cppad.spec index 73d5790..a050d5e 100644 --- a/cppad.spec +++ b/cppad.spec @@ -8,7 +8,7 @@ # ---------------------------------------------------------------------------- Name: cppad -Version: 20130000.3 +Version: 20140000.2 Release: 1%{?dist} Summary: C++ Algorithmic Differentiation (AD), %{name}-devel and %{name}-doc @@ -65,18 +65,21 @@ as a single web page, in both HTML and XML, can be found at that web site. # Replace cppad_SOURCE_DIR by the system include directory so that # installed files, instead of local files, are used for testing. -# (Note next line generates rpm-buildroot-usage warning from rpmlint.) +# +# Note this generates rpm-buildroot-usage warning from rpmlint; see +# http://comments.gmane.org/gmane.linux.redhat.fedora.devel/144920 includedir=%{buildroot}%{_includedir} sed \ -e "s|\(INCLUDE_DIRECTORIES(\).*{cppad_SOURCE_DIR}|\1 SYSTEM $includedir|" \ -i.stamp CMakeLists.txt -# Temporary patch for Fedora 20 and greater. Upstream plans to change source +# Patch for Fedora 20 and greater. Upstream plans to change source # so not needed when %%{version} is greater than or equal 20140000: +# This did not get fixed in 2014, lets try for 2015. # # Change /usr/share/doc/%%{name}-%%{version} -> /usr/share/doc/%%{name} sed -e 's|\(${cppad_abs_docdir}/cppad\)-${cppad_version}|\1|' \ - -i CMakeLists.txt + -i CMakeLists.txt # change example/example.cpp to print out machine epsilon cat << EOF > example.sed @@ -127,6 +130,12 @@ rm -rf %{buildroot} # ---------------------------------------------------------------------------- %changelog + +* Tue Jan 21 2014 Brad Bell - 20140000.2-1 +- Advance to version 2014 of cppad. +- Add link to web discussion about rpm-buildroot-usage warning. +- Fix rpmlint warning about mixing tabs and spaces in spec file. + * Mon Oct 07 2013 Brad Bell - 20130000.3-1 - 1. Use new upstream source to fix warnings generated by g++ 4.8.1. - 2. As per https://fedoraproject.org/wiki/Changes/UnversionedDocdirs diff --git a/sources b/sources index 8e24567..2c939a4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -7abd0ddc43aa7a3c066461904f5cb459 cppad-20130000.3.gpl.tgz +5c2973e0a399167f4edc6551aa5e2432 cppad-20140000.2.gpl.tgz