Upload and use version 2041.
This commit is contained in:
parent
ed67564f61
commit
338cdddf32
3 changed files with 15 additions and 5 deletions
17
cppad.spec
17
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 <bradbell at seanet dot com> - 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 <bradbell at seanet doc com> - 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue