Brad Bell c43b41e
# vim: set expandtab:
Brad Bell bb9d874
# ----------------------------------------------------------------------------
Brad Bell 4453011
# Preamble
Brad Bell bb9d874
# ----------------------------------------------------------------------------
Brad Bell d346fa2
# fedpkg lint: W: no-documentation
Brad Bell d346fa2
# The %%doc directive below installs COPYING and uw_copy_040507.html
Brad Bell d346fa2
# as part of the main package, so this warning should not be generated; see
Brad Bell d346fa2
# https://fedoraproject.org/wiki/Common_Rpmlint_issues#no-documentation
Brad Bell d346fa2
# 'This would be rare as most packages should have some license text,
Brad Bell d346fa2
# a changelog or other information that is better placed in the main package
Brad Bell d346fa2
# instead of a -doc subpackage.'
Brad Bell d346fa2
#
Brad Bell 56fc54b
# fedpkg lint: W: files-duplicate: 
Brad Bell 56fc54b
# the files user_guide.html index.html in directory /usr/share/doc/cppad 
Brad Bell 56fc54b
# are the same. This is because a redirect from index.hml to user_guide.html 
Brad Bell 56fc54b
# will not reload when user_guide.html changes.
Brad Bell 56fc54b
#
Brad Bell 82bd2cc
# fedora uses its own soversion number for cppad_lib
Brad Bell a430fe7
# 5.0 corresponds to version 20240000 
Brad Bell a430fe7
%define soversion 5.0
Brad Bell c43b41e
Brad Bell 56fc54b
# This is really an out of soruce build because the source is in the
Brad Bell 56fc54b
# CppAD-%%{version} sub-directory. The fedora macros are confused and need 
Brad Bell 56fc54b
# this defined true.
Brad Bell 56fc54b
%define __cmake_in_source_build 1
Brad Bell 56fc54b
# ----------------------------------------------------------------------------
Brad Bell 56fc54b
Brad Bell 58f570f
# Fedora Release starts with 1; see
Brad Bell fa9f210
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Versioning/
Brad Bell 4d089c0
Name:    cppad
Brad Bell 7ca8fb4
Version: 20240000.3
Brad Bell b320dde
Release: 2%{?dist}
Brad Bell 0a074d3
Summary: C++ Algorithmic Differentiation (AD), %{name}-devel and %{name}-doc
Brad Bell 4d089c0
#
Brad Bell d346fa2
License: EPL-2.0 OR GPL-2.0-or-later
Brad Bell 4d089c0
URL:     https://github.com/coin-or/CppAD
Brad Bell 4d089c0
Source:  %{url}/archive/%{version}/CppAD-%{version}.tar.gz
Brad Bell 4d089c0
#
Brad Bell f92caad
BuildRequires: gcc
Brad Bell f92caad
BuildRequires: gcc-c++
Brad Bell fa9f210
BuildRequires: cmake >= 3.0
97d1821
BuildRequires: make
Brad Bell a430fe7
BuildRequires: python-xrst >= 2024.0
Brad Bell 4d089c0
# python-xrst should auotmatically require python-toml
Brad Bell 4d089c0
BuildRequires: python-toml  
dc92a74
dc92a74
%description
Brad Bell 56fc54b
C++ Algorithmic Differentiation (AD) library file libcppad_lib.so; 
Brad Bell 56fc54b
see %{name}-devel and %{name}-doc.
dc92a74
dd9cea5
# ---------------------------------------------------------------------------
dd9cea5
%package devel
Brad Bell 0ee1e15
Summary: The %{name} C++ include files for Algorithmic Differentiation (AD)
6b88b44
Provides: %{name} = %{version}-%{release}
Brad Bell 5a2fbea
# Requested by bug report
Brad Bell 5a2fbea
#     https://bugzilla.redhat.com/show_bug.cgi?id=1197488
Brad Bell 5a2fbea
Provides: coin-or-cppad = %{version}-%{release}
Brad Bell 5a2fbea
Provides: coin-or-cppad-devel = %{version}-%{release}
dd9cea5
dd9cea5
%description devel
6c4c23d
We refer to the step by step conversion from an algorithm that computes 
6c4c23d
function values to an algorithm that computes derivative values as 
6c4c23d
Algorithmic Differentiation (often referred to as Automatic Differentiation.) 
6c4c23d
Given a C++ algorithm that computes function values, %{name} generates an 
6c4c23d
algorithm that computes its derivative values. A brief introduction to 
6c4c23d
Algorithmic Differentiation (AD) can be found at 
Brad Bell 0a074d3
     http://en.wikipedia.org/wiki/Automatic_differentiation
Brad Bell 0ee1e15
See the package %{name}-doc for documentation of this version of %{name}. 
Brad Bell d346fa2
The documentation, for the most recent version of %{name}, can be found at
Brad Bell d346fa2
     https://cppad.readthedocs.io
dd9cea5
dc92a74
# ----------------------------------------------------------------------------
dc92a74
%package doc
Brad Bell 8784b95
Summary: Documentation for %{name}-devel
Brad Bell 8784b95
BuildArch: noarch
dc92a74
dc92a74
%description doc
Brad Bell c43b41e
The %{name}-doc package installs the HTML documentation for this version
Brad Bell c43b41e
of %{name}-devel in
Brad Bell bb9d874
     %{_docdir}/%{name}
Brad Bell c43b41e
The documentation, for the most recent version of %{name}, can be found at
Brad Bell 4d089c0
     https://cppad.readthedocs.io
dc92a74
Brad Bell 4453011
# -----------------------------------------------------------------------------
Brad Bell 4453011
# prep
Brad Bell 58f570f
# -----------------------------------------------------------------------------
dc92a74
%prep
Brad Bell c43b41e
#
Brad Bell 0e0c6a0
# Create an empty directory named cppad-%%{version}, 
Brad Bell 0e0c6a0
# changed into that directory and unpack Source0 and Source1.
Brad Bell 4d089c0
%setup -q -c
Brad Bell 4d089c0
#
Brad Bell 4d089c0
# xrst.toml
Brad Bell 592496b
# This is not a git repository so suppress the warning that could not double
Brad Bell 592496b
# check that all the files with xrst commands were included.
Brad Bell 4d089c0
echo ''                   >> CppAD-%{version}/xrst.toml
Brad Bell 4d089c0
echo '[input_files]'      >> CppAD-%{version}/xrst.toml
Brad Bell 4d089c0
echo 'data = [ ]'         >> CppAD-%{version}/xrst.toml
Brad Bell c43b41e
#
Brad Bell 4d089c0
# CppAD-%%{version}/build/html
Brad Bell d346fa2
# run xrst to create the documentation files in the directory above
Brad Bell 4d089c0
mkdir CppAD-%{version}/build
Brad Bell 4d089c0
xrst --version
Brad Bell 592496b
number_jobs=$(echo %{?_smp_mflags} | sed -e 's|[^0-9]*\([0-9]*\)[^0-9]*|\1|')
Brad Bell 592496b
if [ "$number_jobs" == '' ]
Brad Bell 592496b
then
Brad Bell 592496b
   number_jobs='1'
Brad Bell 592496b
fi
Brad Bell 4d089c0
xrst \
Brad Bell 4d089c0
   --config_file CppAD-%{version}/xrst.toml \
Brad Bell 4d089c0
   --local_toc \
Brad Bell 4d089c0
   --target html \
Brad Bell 4d089c0
   --html_theme sphinx_rtd_theme \
Brad Bell 4d089c0
   --index_page_name user_guide \
Brad Bell 4d089c0
   --group_list default app \
Brad Bell 592496b
   --number_jobs $number_jobs \
Brad Bell 4d089c0
   --suppress_spell_warnings
Brad Bell 0e0c6a0
#
Brad Bell d346fa2
# CppAD-%%{version}/build/html
Brad Bell 1cdfcfd
# remove hidden files not needed for viewing documentation
Brad Bell 1cdfcfd
rm CppAD-%{version}/build/html/.buildinfo
Brad Bell 1cdfcfd
rm -r CppAD-%{version}/build/html/.doctrees
Brad Bell 1cdfcfd
Brad Bell 1cdfcfd
#
Brad Bell 4d089c0
# COPYING, uw_copy_040507.html
Brad Bell c43b41e
mv CppAD-%{version}/COPYING  COPYING
Brad Bell c43b41e
mv CppAD-%{version}/uw_copy_040507.html uw_copy_040507.html
Brad Bell d346fa2
#
Brad Bell e41fd19
# ----------------------------------------------------------------------------
Brad Bell 82bd2cc
# cppad_lib: replace soversion number and ensure build type is release 
Brad Bell 82bd2cc
sed -i.bak CppAD-%{version}/cppad_lib/CMakeLists.txt \
Brad Bell 9ce1380
    -e "s|print_variable(soversion)|SET(soversion %{soversion} )\n&|" \
Brad Bell 82bd2cc
    -e "s|\${cppad_debug_which}|debug_none|"
Brad Bell 82bd2cc
#
Brad Bell b320dde
# Bug fix to version 20240000.3 (not necessary in version 20240000.4 or higher)
Brad Bell b320dde
sed -z -i.bak CppAD-%{version}/include/cppad/local/val_graph/fun2val.hpp \
Brad Bell b320dde
   -e 's|\n *break;\(\n[^\n]*}\n[^\n]*-\n[^\n]*else switch(var_op)\n\)|\1|'
Brad Bell b320dde
#
Brad Bell 1f52814
# ----------------------------------------------------------------------------
Brad Bell b7bf3ae
# Print machine epsilon before any other testing
Brad Bell b7bf3ae
cat << EOF > temp.cpp
Brad Bell b7bf3ae
# include <iostream>
Brad Bell b7bf3ae
# include <limits>
Brad Bell e586257
template <class Float> void print_epsilon(const char* type_name)
Brad Bell e586257
{   Float epsilon = std::numeric_limits<Float>::epsilon();
Brad Bell ba8fd07
    std::cout << type_name << " epsilon = " << epsilon << "\n";
Brad Bell e586257
}
Brad Bell b7bf3ae
int main(void)
Brad Bell e586257
{   print_epsilon<float>("float");
Brad Bell e586257
    print_epsilon<double>("double");
Brad Bell e586257
    print_epsilon<long double>("long double");
Brad Bell b7bf3ae
    return 0;
Brad Bell b7bf3ae
}
Brad Bell b7bf3ae
EOF
Brad Bell b7bf3ae
g++ -std=c++11 temp.cpp -o temp
Brad Bell b7bf3ae
./temp > temp.out
Brad Bell b7bf3ae
cat temp.out
Brad Bell b7bf3ae
# ----------------------------------------------------------------------------
Brad Bell ba8fd07
# Comment out test of to_string long double on ppc64le arch. Understanding why
Brad Bell ba8fd07
# it is failing will have to wait until there is a fedora 36 ppc64le test machine.
Brad Bell ba8fd07
if [ "%{_arch}" == 'ppc64le' ]
Brad Bell ba8fd07
then
Brad Bell ba8fd07
    sed -i.bak CppAD-%{version}/example/utility/to_string.cpp \
Brad Bell ba8fd07
        -e 's|ok *&= *floating<long double>();|// &|'  
Brad Bell ba8fd07
fi
Brad Bell 4453011
# -----------------------------------------------------------------------------
Brad Bell 4453011
# build
Brad Bell 58f570f
# -----------------------------------------------------------------------------
Brad Bell 58f570f
%build
Brad Bell bb9d874
#
Brad Bell 9ce1380
# 1. Cannot use %%{_includedir}, %%{_libdir}, %%{_datadir}, %%{_docdir} 
Brad Bell 62ce804
# because they are absolute paths. Relative values would be more flexible 
Brad Bell 62ce804
# because they can be combined with %%{_prefix} to get absolute values.
Brad Bell 82bd2cc
#
Brad Bell 7ca8fb4
# 2. The debug_all is overridden for cppad_lib by the edit of
Brad Bell 82bd2cc
# cppad_lib/CMakeLists.txt above
Brad Bell fa9f210
#
Brad Bell 7ca8fb4
# 3. The gnu c++ compiler seems to be generating an incorrect warning about
Brad Bell fa9f210
# array bounds in thread_alloc.hpp. Use -Wno-array-bounds to suppress it.
Brad Bell 4d089c0
#
Brad Bell 4d089c0
# cppad_cxx_flags
Brad Bell 4d089c0
# extra C++ compiler flags
Brad Bell 4d089c0
cppad_cxx_flags=\
Brad Bell 4d089c0
'-Wall -pedantic-errors -std=c++11 -Wshadow -Wconversion  -Wno-array-bounds'
Brad Bell 4d089c0
#
Brad Bell 4d089c0
# CMake Warning:
Brad Bell 4d089c0
# Manually-specified variables were not used by the project:
Brad Bell 4d089c0
#    CMAKE_C_FLAGS_RELEASE
Brad Bell 4d089c0
#    CMAKE_Fortran_FLAGS_RELEASE
Brad Bell 4d089c0
#    CMAKE_INSTALL_DO_STRIP
Brad Bell 4d089c0
#    INCLUDE_INSTALL_DIR
Brad Bell 4d089c0
#    LIB_INSTALL_DIR
Brad Bell 4d089c0
#    LIB_SUFFIX
Brad Bell 4d089c0
#    SHARE_INSTALL_PREFIX
Brad Bell 4d089c0
#    SYSCONF_INSTALL_DIR
Brad Bell 4d089c0
#
Brad Bell bb9d874
%cmake --version
Brad Bell bb9d874
%cmake \
Brad Bell 4d089c0
    -S CppAD-%{version} \
Brad Bell 4d089c0
    -B . \
Brad Bell a90ee42
    \
Brad Bell bb9d874
    -D CMAKE_VERBOSE_MAKEFILE=0 \
Brad Bell c43b41e
    -G 'Unix Makefiles' \
Brad Bell bb9d874
    \
Brad Bell 18cc6cc
    -D cppad_prefix=%{_prefix} \
Brad Bell c43b41e
    -D cppad_postfix='' \
Brad Bell 82bd2cc
    \
Brad Bell bb9d874
    -D cmake_install_includedirs=include \
Brad Bell c43b41e
    -D cmake_install_libdirs=%{_lib} \
Brad Bell cadca5c
    \
Brad Bell bb9d874
    -D cmake_install_datadir=share \
Brad Bell bb9d874
    -D cmake_install_docdir=share/doc \
Brad Bell bb9d874
    \
Brad Bell cadca5c
    -D include_adolc=false \
Brad Bell cadca5c
    -D include_eigen=false \
Brad Bell cadca5c
    -D include_ipopt=false \
Brad Bell cadca5c
    -D include_cppadcg=false \
Brad Bell cadca5c
    \
Brad Bell 4d089c0
    -D colpack_prefix='NOTFOUND' \
Brad Bell 4d089c0
    -D fadbad_prefix='NOTFOUND' \
Brad Bell 4d089c0
    -D sacado_prefix='NOTFOUND' \
Brad Bell c43b41e
    \
Brad Bell 58f570f
    -D cppad_cxx_flags="$cppad_cxx_flags" \
Brad Bell c43b41e
    -D cppad_profile_flag='' \
Brad Bell db2c521
    -D cppad_testvector=cppad \
Brad Bell db2c521
    -D cppad_max_num_threads=64 \
Brad Bell bb9d874
    -D cppad_tape_id_type=size_t \
Brad Bell bb9d874
    -D cppad_tape_addr_type=size_t \
Brad Bell a430fe7
    -D cppad_debug_which='debug_all' \
Brad Bell a430fe7
    -D cppad_debug_and_release=true
Brad Bell 1220f6a
#
Brad Bell c1de1c8
# see https://docs.fedoraproject.org/en-US/packaging-guidelines/
Brad Bell c1de1c8
#   parallel_make
Brad Bell c1de1c8
%make_build
dc92a74
Brad Bell 58f570f
# -----------------------------------------------------------------------------
Brad Bell 4453011
# Install
Brad Bell 4453011
# -----------------------------------------------------------------------------
dc92a74
%install
Brad Bell c1de1c8
# https://docs.fedoraproject.org/en-US/packaging-guidelines/
Brad Bell c1de1c8
#   why_the_makeinstall_macro_should_not_be_used
Brad Bell c1de1c8
%make_install
dc92a74
Brad Bell 56fc54b
%files
Brad Bell 56fc54b
%{_libdir}/libcppad_lib.so.%{soversion}
Brad Bell 56fc54b
Brad Bell d346fa2
# These documentation files come from the source code tarball
Brad Bell d346fa2
%doc COPYING uw_copy_040507.html
Brad Bell d346fa2
dc92a74
%files devel
dc92a74
%{_includedir}/%{name}
Brad Bell 0ee1e15
%{_datadir}/pkgconfig/%{name}.pc
Brad Bell c43b41e
%{_libdir}/pkgconfig/%{name}.pc
Brad Bell 82bd2cc
%{_libdir}/libcppad_lib.so
Brad Bell 82bd2cc
dc92a74
%files doc
Brad Bell 56fc54b
# These documentation files are build by the xrst command above
Brad Bell bb9d874
%{_docdir}/%{name}
dc92a74
Brad Bell 4453011
# -----------------------------------------------------------------------------
Brad Bell 4453011
# Check
Brad Bell 4453011
# -----------------------------------------------------------------------------
Brad Bell 4453011
# use the installed include files to compile and run the tests
Brad Bell 4453011
%check
Brad Bell b1313d5
make %{?_smp_mflags} check
Brad Bell 0e0c6a0
# ----------------------------------------------------------------------------
Brad Bell 0e0c6a0
# %%clean
Brad Bell 0e0c6a0
# Use %%clean with no arguments to surpress the cleanup of BUILDROOT 
Brad Bell 0e0c6a0
# This enables one to check that the necessary files are installed.
dc92a74
# ----------------------------------------------------------------------------
dc92a74
%changelog
Brad Bell b320dde
* Fri Mar 01 2024 Brad Bell <bradbell at seanet dot com> - 20240000.3-2
Brad Bell b320dde
- This fixes a bug in fun2val.hpp. This change will not be necessary
Brad Bell b320dde
- once the upstream source advances to 20240000.4.
Brad Bell b320dde
Brad Bell 7ca8fb4
* Sat Feb 17 2024 Brad Bell <bradbell at seanet dot com> - 20240000.3-1
Brad Bell 67c31e8
- This fixes a long standing bug; see the heading 02-14 on
Brad Bell 7ca8fb4
- https://cppad.readthedocs.io/latest/whats_new_24.html
Brad Bell 7ca8fb4
704b9e3
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 20240000.2-3
704b9e3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
704b9e3
349a370
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 20240000.2-2
349a370
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
349a370
Brad Bell a90ee42
* Wed Jan 17 2024 Brad Bell <bradbell at seanet dot com> - 20240000.2-1
Brad Bell a90ee42
- Upstream moved i386 special cases into cmake script.
Brad Bell 7ca8fb4
- Checking that other upstream changes do not affect Fedora install.
Brad Bell a90ee42
Brad Bell 592496b
* Tue Jan 09 2024 Brad Bell <bradbell at seanet dot com> - 20240000.1-1
Brad Bell 592496b
- thread_alloc.hpp: i386 i686: fix allignment for doubles
Brad Bell 592496b
- op_hash_table: i386 i686: avoid second specialization of is_pod for same type.
Brad Bell 592496b
- xrst.toml: add comment about why we are adding to this file.
Brad Bell 592496b
- xrst command: speed up parallel build by settting number_jobs.
Brad Bell 592496b
Brad Bell 592496b
Brad Bell b32c596
* Mon Jan 08 2024 Brad Bell <bradbell at seanet dot com> - 20240000.1-1
Brad Bell b32c596
- Upstream fix of bug found by build on buildvm-x86-16.iad2.fedoraproject.org
Brad Bell b32c596
Brad Bell a430fe7
* Sat Jan 06 2024 Brad Bell <bradbell at seanet dot com> - 20240000.0-1
Brad Bell a430fe7
- New upstream source cppad-20240000.0.
Brad Bell a430fe7
- require python-xrst >= 2024.0
Brad Bell a430fe7
- xrst.toml: no need to change to pyenchant because pyspellchecker avaialble
Brad Bell a430fe7
- upstream source changed CPPAD_DEBUG_AND_RELEASE to a cmake argument
Brad Bell a430fe7
Brad Bell 70636f1
* Mon Dec 25 2023 Brad Bell <bradbell at seanet dot com> - 20230000.0-3
Brad Bell d346fa2
- migrated to SPDX license
Brad Bell d346fa2
- move %%doc directive before subpackages (becasue it is in main package)
Brad Bell d346fa2
4beb0ab
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 20230000.0-2
4beb0ab
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
4beb0ab
Brad Bell 56fc54b
* Sun Jan 29 2023 Brad Bell <bradbell at seanet dot com> - 20230000.0-1
Brad Bell 56fc54b
- Move libcppad_lib.so to main package (fixes a fedpkg lint error).
Brad Bell 56fc54b
- Fix comment about where doc files come from.
Brad Bell 56fc54b
- Move %%define __cmake_in_source_build to top of spec file.
Brad Bell 56fc54b
- Add discussion of fedpkg lint files-duplicate warning.
Brad Bell 56fc54b
Brad Bell 4d089c0
* Sat Jan 28 2023 Brad Bell <bradbell at seanet dot com> - 20230000.0-1
Brad Bell 4d089c0
- Advance upstream source to 2023.
Brad Bell 4d089c0
- Add python-xrst to BuildRequires so can buile documentation.
Brad Bell 4d089c0
- Remove Source1, change Source0 -> Source, and make definition so tarball 
Brad Bell 1cdfcfd
  has the same name as the directory it creates.
Brad Bell 4d089c0
- Change URL from documentation to git repo so can use in Source definition.
Brad Bell 4d089c0
- Change some cmake definitions from empty string to NOTFOUND.
Brad Bell 4d089c0
- Explicity specify the source directory (-S) and binary (-B) in camke comamnd.
Brad Bell 4d089c0
- Add comments about __cmake_in_source_build confusion
Brad Bell 4d089c0
- Update comments about cmake settings and warnings
Brad Bell 4d089c0
38beed4
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 20220000.4-3
38beed4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
38beed4
d14466b
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 20220000.4-2
d14466b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
d14466b
Brad Bell 1defac3
* Sat May 21 2022  Brad Bell <bradbell at seanet dot com> - 20220000.4-1
Brad Bell 1defac3
- Advance to upstream 20220000.4. Main motivation for this is to make 
Brad Bell 1defac3
  cppad_eigen.hpp work with Eigen 3.4.0.
Brad Bell 1defac3
Brad Bell 241ba30
* Mon Feb 14 2022  Brad Bell <bradbell at seanet dot com> - 20220000.1-1
Brad Bell 241ba30
- Not necessary to advance to 20220000.2 because Fedora build is getting
Brad Bell 241ba30
  correct result for cppad.pc.
Brad Bell 241ba30
Brad Bell ba8fd07
* Wed Feb 02 2022  Brad Bell <bradbell at seanet dot com> - 20220000.1-1
Brad Bell ba8fd07
- Try commenting out to_string test of long double on ppc56le arch.
Brad Bell ba8fd07
  This problem does not reproduce on ppc64le-test.fedorainfracloud.org.
Brad Bell ba8fd07
Brad Bell 1ec5742
* Tue Feb 01 2022  Brad Bell <bradbell at seanet dot com> - 20220000.1-1
Brad Bell 1ec5742
- Modify to_string.cpp patch to print out more information on failure.
Brad Bell b7bf3ae
- Add simple program to print machine epsilon before any other testing.
Brad Bell 1ec5742
Brad Bell db2c521
* Mon Jan 31 2022  Brad Bell <bradbell at seanet dot com> - 20220000.1-1
Brad Bell db2c521
- Fix following long standing typos in cmake command:
Brad Bell db2c521
- 1. cppad_test_vector -> cppad_testvector
Brad Bell db2c521
- 2. cppad_max_num_theads -> cppad_max_num_threads
Brad Bell 1f52814
- Temporary change to debug ppc64le build failure: replace to_string.cpp
Brad Bell 3ba78cf
- Replace temporary change by a patch to example/utility/to_string.cpp
Brad Bell db2c521
Brad Bell fa9f210
* Mon Jan 24 2022 Brad Bell <bradbell at seanet dot com> - 20220000.1-1
Brad Bell fa9f210
- Advance to upstream source 20220000.1
Brad Bell fa9f210
- Add -Wno-array-bounds to compiler flags (see remarks about this flag)
Brad Bell fa9f210
c3dadec
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 20210000.7-2
c3dadec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
c3dadec
Brad Bell a3664d1
* Mon Aug 02 2021 Brad Bell <bradbell at seanet dot com> - 20210000.7-1
Brad Bell a3664d1
- Advance to upstream source 20210000.7
Brad Bell a3664d1
6b0d9e2
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 20210000.5-3
6b0d9e2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
6b0d9e2
Brad Bell 0e0c6a0
* Sun Mar 07 2021 Brad Bell <bradbell at seanet dot com> - 20210000.5-2
Brad Bell 0e0c6a0
- Remove %%debug_package (not necessary to create debug info).
Brad Bell 0e0c6a0
- Use %%setup to unpack tarballs (sets premissions properly).
Brad Bell 0e0c6a0
- Add comments about using %%clean to check BUILDROOT.
Brad Bell 0e0c6a0
Brad Bell 6e5d8bc
* Sun Feb 28 2021 Brad Bell <bradbell at seanet dot com> - 20210000.5-1
Brad Bell 6e5d8bc
- Advance to upstream source 20210000.5
Brad Bell 6e5d8bc
- Remove patches that are no longer necessary.
Brad Bell c1de1c8
- Change: Source1, Source2 -> Source0, Source1.
Brad Bell c1de1c8
- Change: make %%{?_smp_mflags} -> %%make_build
Brad Bell c1de1c8
- Change: make install DESTDIR=%%{buildroot} -> %%make_install.
Brad Bell 6e5d8bc
Brad Bell e41fd19
* Thu Feb 18 2021 Brad Bell <bradbell at seanet dot com> - 20210000.3-3
Brad Bell e41fd19
- Patch corresponding to bug fix in upstream source 20210000.5
Brad Bell e41fd19
Brad Bell e8a7849
* Tue Feb 02 2021 Brad Bell <bradbell at seanet dot com> - 20210000.3-2
Brad Bell e8a7849
- Patch corresponding to bug fix in upstream source 20210000.4
Brad Bell e062f84
Brad Bell cadca5c
* Tue Jan 26 2021 Brad Bell <bradbell at seanet dot com> - 20210000.3-1
Brad Bell cadca5c
- Advance to upstream source 20210000.3
Brad Bell cadca5c
- Remove patches that are no longer necessary.
Brad Bell cadca5c
- Update cmake command line to new version of upstream source.
Brad Bell cadca5c
928b711
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 20200000.0-8
928b711
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
928b711
Brad Bell c5df4e0
* Sun Dec 27 2020 Brad Bell <bradbell at seanet dot com> - 20200000.0-7
Brad Bell b1313d5
- Add _smp_mflags to the make check command (parallel make)
Brad Bell b1313d5
- Build Debuginfo version of the cppad_lib library.
Brad Bell b1313d5
Brad Bell 9ce1380
* Sat Aug 01 2020 Brad Bell <bradbell at seanet dot com> - 20200000.0-6
Brad Bell 9ce1380
- define __cmake_in_source_build see:
Brad Bell 9ce1380
  https://docs.fedoraproject.org/en-US/packaging-guidelines/CMake/
Brad Bell 9ce1380
- Change soversion edit so modified soversion displayed during cmake command
Brad Bell 9ce1380
9ea88db
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 20200000.0-5
9ea88db
- Second attempt - Rebuilt for
9ea88db
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
9ea88db
545eb0b
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 20200000.0-4
545eb0b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
545eb0b
f6bb87a
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 20200000.0-3
f6bb87a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
f6bb87a
Brad Bell 57d3b6d
* Thu Jan 23 2020 Brad Bell <bradbell at seanet dot com> - 20200000.0-2
Brad Bell 57d3b6d
- Remove comment about object library becasue install libcppadlib.so
Brad Bell 57d3b6d
- Patch to not install empty include (in 20200000.1 upstream)
Brad Bell 57d3b6d
- Patch to not use GreaterThanZero during reverse mode (in 2020000.2)
Brad Bell 57d3b6d
- Remove PowTestSeven which tested the GreaterThanZeor in reverse mode
Brad Bell 57d3b6d
Brad Bell 82bd2cc
* Thu Jan 02 2020 Brad Bell <bradbell at seanet dot com> - 20200000.0-1
Brad Bell 82bd2cc
- Advance to version 2020 of cppad
Brad Bell 82bd2cc
- This is a major change because it we need to install the binary cppad_lib.
Brad Bell 82bd2cc
- No longer have lint error because must build library before installing.
Brad Bell 82bd2cc
- Remove patch for upstream source < 20190200.5.
Brad Bell 82bd2cc
- No debug_package, so need to ensure CPPAD_DEBUG_AND_RELEASE always defined. 
Brad Bell 82bd2cc
- cppad_deprecatred is no longer in cmake command line.
Brad Bell 82bd2cc
- cppad_debug_which is set to debug_all and overridden for cppad_lib directory.
Brad Bell 82bd2cc
Brad Bell e78aec6
* Wed Sep 18 2019 Brad Bell <bradbell at seanet dot com> - 20190200.4-2
Brad Bell e78aec6
- fedpkg lint now reconizes EPL-2.0 license so remove comment about its error
Brad Bell e78aec6
- Use sed edit of 20190200.4 to obtain bug fix that is in 20190200.5
Brad Bell e78aec6
Brad Bell 034dc75
* Tue Aug 06 2019 Brad Bell <bradbell at seanet dot com> - 20190200.4-1
Brad Bell ec9c934
- Bug fix by advancing to upstream source 20190200.4
Brad Bell ec9c934
633a040
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 20190200.0-4
633a040
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
633a040
Brad Bell 44e0c24
* Wed May 29 2019 Brad Bell <bradbell at seanet dot com> - 20190200.0-3
Brad Bell 44e0c24
- Bug fix corresponding to upstream source 20190200.3.
Brad Bell 8d10474
- Fix license field and add comment at top about fedpkg lint license mistake.
Brad Bell 44e0c24
Brad Bell 42b83f5
* Fri Feb 01 2019 Brad Bell <bradbell at seanet dot com> - 20190200.0-2
Brad Bell 42b83f5
- Test with corrected version of source2; i.e., 20190200.doc.tar.gz
Brad Bell 42b83f5
Brad Bell c43b41e
* Fri Feb 01 2019 Brad Bell <bradbell at seanet dot com> - 20190200.0-1
Brad Bell c43b41e
- Advance to version 2019 of cppad (actually 2019-02).
Brad Bell c43b41e
- Home page and sources have moved to github.
Brad Bell c43b41e
- Documentation is now a separate source tarball.
Brad Bell c43b41e
- Copyright changed from GPL3 -> EPL2 with GPL2 or later option.
Brad Bell c43b41e
- Change tabs to spaces and add 'vim: setexpandtab' command at top.
Brad Bell c43b41e
- Install pkgconfig files in both data and lib directories.
Brad Bell c43b41e
ae6449c
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 20180000.0-4
ae6449c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
ae6449c
67d6fe1
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 20180000.0-3
67d6fe1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
67d6fe1
dc5b085
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 20180000.0-2
dc5b085
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
dc5b085
Brad Bell 4453011
* Tue Jan 02 2018 Brad Bell <bradbell at seanet dot com> - 20180000.0-1
Brad Bell 4453011
- fedpkg lint no longer generates spelling error for use of 'devel'.
Brad Bell 4453011
- Comment out %%clean because only the normal build area is used.
Brad Bell 4453011
- Change minumum cmake version to 2.8 (needed for epel7 branch).
Brad Bell 4453011
- Use comments to better group to sections of the spec file.
Brad Bell 4453011
Brad Bell 58f570f
* Mon Jan 01 2018 Brad Bell <bradbell at seanet dot com> - 20180000.0-1
Brad Bell 58f570f
- Advance to version 2018 of cppad.
Brad Bell 58f570f
Brad Bell ecd535e
* Fri Nov 24 2017 Brad Bell <bradbell at seanet dot com> - 20170000.4-3
Brad Bell ecd535e
- Use sed to add bug fix corresponding to cppad-20170000.8.
Brad Bell ecd535e
de0be60
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20170000.4-3
de0be60
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
de0be60
b3bd681
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20170000.4-2
b3bd681
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
b3bd681
Brad Bell d445938
* Mon Apr 03 2017 Brad Bell <bradbell at seanet dot com> - 20170000.4-1
Brad Bell d445938
- Advance to 20170000.4 to take advantage of some upstrean bug fixes.
Brad Bell d445938
Brad Bell 25e6f4c
* Tue Mar 07 2017 Brad Bell <bradbell at seanet dot com> - 20170000.3-1
Brad Bell 25e6f4c
- Advance to 20170000.3 to take advantage of some upstrean bug fixes.
Brad Bell 25e6f4c
- The results of cmake comman depend on the architecture, so remove 'noarch'
Brad Bell 25e6f4c
- see https://bugzilla.redhat.com/show_bug.cgi?id=1427391
Brad Bell 25e6f4c
Brad Bell 4ecffef
* Thu Feb 16 2017 Brad Bell <bradbell at seanet dot com> - 20170000.1-3
Brad Bell 4ecffef
- patch source to fix bug in ForSparseHes.
Brad Bell 4ecffef
aa977dc
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20170000.1-2
aa977dc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
aa977dc
Brad Bell 62ce804
* Fri Jan 20 2017 Brad Bell <bradbell at seanet dot com> - 20170000.1-1
Brad Bell 62ce804
- Advance to version 2017 of cppad.
Brad Bell 62ce804
- New link for discussion of fedpkg lint warning rpm-builroot-usage
Brad Bell 62ce804
- (old link seems to have disappeared).
Brad Bell 62ce804
- Change CMakeLists.txtbak -> CMakeLists.txt.bak.
Brad Bell 62ce804
- Use find to create list of CMakeLists.txt files and check that edit
Brad Bell 62ce804
- of these files goes as expected.
Brad Bell 62ce804
- Include explicit setting of all possible cmake command options
Brad Bell 62ce804
- (empty prefix setting correspond to packages not included).
Brad Bell 62ce804
- cppad_sparse_list=YES removed (YES is now always chosen by upstream source)
Brad Bell 38db2af
- Change some comparisons to properly scale to machine epsilon.
Brad Bell 62ce804
092195a
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 20160000.0-2
092195a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
092195a
Brad Bell 18cc6cc
* Fri Jan 1 2016 Brad Bell <bradbell at seanet do com> - 20160000.0-1
Brad Bell 18cc6cc
- Advance to version 2016 of cppad.
Brad Bell 18cc6cc
- Remove patch for static testing library (fixed upstream).
Brad Bell 18cc6cc
- Remove patch to avoid install of cppad_colpack.cpp (fixed upstream).
Brad Bell 18cc6cc
- Change cmake_install_prefix -> cppad_prefix (changed upstream).
Brad Bell 18cc6cc
- Change c++98 to c++11 so installed version can support both (new capability).
Brad Bell 18cc6cc
- Remove setting cppad_implicit_ctor_from_any type (no longer in upstream).
Brad Bell 18cc6cc
- Add setting cppad_deprecated (new upstream flag).
Brad Bell 18cc6cc
- Change original copy of files from *.stamp to *.bak
Brad Bell 18cc6cc
- Patch CMakeLists.txt files to remove building and use of cppad_lib object.
Brad Bell 18cc6cc
3a1b3d7
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20150000.9-3
3a1b3d7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
3a1b3d7
Brad Bell 5a2fbea
* Sat Apr 11 2015 Brad Bell <bradbell at seanet dot com> - 20150000.9-2
Brad Bell 5a2fbea
- Move Provides coin-or-cppad below %%package-devel;
Brad Bell 5a2fbea
- see https://bugzilla.redhat.com/show_bug.cgi?id=1197488
Brad Bell 5a2fbea
Brad Bell ab35867
* Mon Mar 02 2015 Brad Bell <bradbell at seanet dot com> - 20150000.9-1
Brad Bell ab35867
- 1: Advance to newer version of upstream source to fix some bugs.
Brad Bell ab35867
- 2: Remove patch of test_more/optimize.cpp which is no longer necessary.
Brad Bell ab35867
- 3: Add Provides coin-or-cppad.
Brad Bell ab35867
Brad Bell 7fcb1f5
* Mon Feb 09 2015 Brad Bell <bradbell at seanet dot com> - 20150000.4-3
Brad Bell 7fcb1f5
- 1: Change std=c++11 to std=c++98 so works with rel6 (also so works
Brad Bell bb9d874
- in f20 and f21 when std=c++11 is not specified).
Brad Bell 7fcb1f5
- 2: Change speed/src/libspeed_src to be a static library because it is only
Brad Bell bb9d874
- used for testing (shared library was not being found on epl6).
Brad Bell 7fcb1f5
- 3: Cleanup %%{buildroot} at start so it can be used for debugging on failure.
Brad Bell 7fcb1f5
- 4: Fix an exact equal check that should have been a near equal check.
Brad Bell bb0f6f5
Brad Bell bb9d874
* Sun Feb 01 2015 Brad Bell <bradbell at seanet dot com> - 20150000.4-2
Brad Bell bb9d874
- Fix rmplint warning about macro-in-comment.
Brad Bell bb9d874
- Edit comments at top of about warnings that won't be fixed.
Brad Bell bb9d874
Brad Bell bb9d874
* Sat Jan 31 2015 Brad Bell <bradbell at seanet dot com> - 20150000.4-1
Brad Bell bb9d874
- Advance to version 2015 of cppad.
Brad Bell bb9d874
- Ensure cmake >= 2.8; see https://bugzilla.redhat.com/show_bug.cgi?id=896116
Brad Bell bb9d874
- Remove patch for location of docdir (fixed upstream).
Brad Bell bb9d874
- Patch CMakeLists.txt to remove install of cppad_colpack.cpp (it is not used).
Brad Bell bb9d874
- List all cmake options (including defaults) that are used by this install.
Brad Bell d1aec32
Brad Bell bb9d874
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20140000.2-3
Brad Bell bb9d874
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
Brad Bell bb9d874
Brad Bell bb9d874
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20140000.2-2
Brad Bell bb9d874
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
Brad Bell bb9d874
Brad Bell bb9d874
Brad Bell bb9d874
* Tue Jan 21 2014 Brad Bell <bradbell at seanet dot com> - 20140000.2-1
Brad Bell bb9d874
- Advance to version 2014 of cppad.
Brad Bell bb9d874
- Add link to web discussion about rpm-buildroot-usage warning.
Brad Bell bb9d874
- Fix rpmlint warning about mixing tabs and spaces in spec file.
Brad Bell bb9d874
Brad Bell bb9d874
* Mon Oct 07 2013 Brad Bell <bradbell at seanet doc com> - 20130000.3-1
Brad Bell bb9d874
- 1. Use new upstream source to fix warnings generated by g++ 4.8.1.
Brad Bell bb9d874
- 2. As per https://fedoraproject.org/wiki/Changes/UnversionedDocdirs 
Brad Bell bb9d874
- move xml documentation from /usr/share/doc/%%{name}-%%{version} to
Brad Bell bb9d874
- /usr/share/doc/%%{name}
Brad Bell bb9d874
Brad Bell bb9d874
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20130000.2-2
Brad Bell bb9d874
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
Brad Bell bb9d874
Brad Bell bb9d874
* Thu Feb 28 2013 Brad Bell <bradbell at seanet doc com> - 20130000.2-1
Brad Bell bb9d874
- Fix bug https://bugzilla.redhat.com/show_bug.cgi?id=913929
Brad Bell bb9d874
- in the upstream soruce and use the corresponding upstream release.
Brad Bell bb9d874
- Note, the previous commit, 20130000.1-3,  could have been avoided using
Brad Bell bb9d874
- https://fedoraproject.org/wiki/Using_the_Koji_build_system#Scratch_Builds
Brad Bell bb9d874
Brad Bell bb9d874
* Wed Feb 13 2013 Brad Bell <bradbell at seanet doc com> - 20130000.1-3
Brad Bell bb9d874
- Attempt to reproduce failure reported in bug id=913929
Brad Bell bb9d874
- (The build logs were deleted because I did not get to this soon enough)
Brad Bell bb9d874
Brad Bell bb9d874
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20130000.1-2
Brad Bell bb9d874
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
Brad Bell 03c5ce3
Brad Bell 8784b95
* Tue Jan 08 2013 Brad Bell <bradbell at seanet dot com> - 20130000.1-1
Brad Bell 8784b95
- Use a new upstream source.
Brad Bell 8784b95
- Remove the patches that were fixed in the upstream source. 
Brad Bell 8784b95
- Convert tabs to spaces (avoid rpmlint warning).
Brad Bell 8784b95
- Fix rpmlint warning for cppad-doc group warning.
Brad Bell 8784b95
- Add comment for rpmlint warning about using buildroot.
Brad Bell 8784b95
Brad Bell 8784b95
* Sat Jan 05 2013 Brad Bell <bradbell at seanet dot com> - 20130000.0-3
Brad Bell 8784b95
- The patch.sed script in this file is for a final test of a solution on the 
Brad Bell 8784b95
- remote machine. Expect to modify upstream source so it is not necessary.
Brad Bell 8784b95
Brad Bell 8784b95
* Fri Jan 04 2013 Brad Bell <bradbell at seanet dot com> - 20130000.0-2
Brad Bell 8784b95
- Debugging build to try to understand failure of test_more/epsilon.cpp
Brad Bell 8784b95
- on a remote machine that I do not have access to.
Brad Bell 8784b95
Brad Bell 8784b95
* Fri Jan 04 2013 Brad Bell <bradbell at seanet dot com> - 20130000.0-1
Brad Bell 8784b95
- Advance to version 2013 of cppad.
Brad Bell 8784b95
- Remove old patches that are no longer necessary.
Brad Bell 8784b95
- Convert from auto-tools to cmake build system.
Brad Bell 8784b95
- Add new patches (using sed in setup section) that are now necessary.
Brad Bell 8784b95
- Fix some bogus dates in change log by changing day of the week.
Brad Bell 8784b95
- Getting folloing incorrect warning from g++ during rpmbuild:
Brad Bell 8784b95
- .../cppad/thread_alloc.hpp:203:44: ... subsrcipt is above array bounds ... 
Brad Bell 8784b95
Brad Bell 8784b95
* Sun Oct 21 2012 Ralf Cors├ępius <corsepiu@fedoraproject.org> - 20120101.1-3
Brad Bell 8784b95
- Switch to arch'ed BuildArch.
Brad Bell 8784b95
Brad Bell 8784b95
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20120101.1-2
Brad Bell 8784b95
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
Brad Bell 8784b95
Brad Bell 3555f00
* Wed Jan 18 2012 Brad Bell <bradbell at seanet dot com> - 20120101.1-1 
Brad Bell 3555f00
- Advance to version 2012 of cppad.
Brad Bell 3555f00
- Remove old patches that are no longer necessary.
Brad Bell 3555f00
- Add new patches (using sed in setup section) that are now necessary.
Brad Bell 3555f00
- Change comments about rpmlint output (using more recent version).
7adf3db
Brad Bell 1295bc7
* Mon Oct 17 2011 Brad Bell <bradbell at seanet dot com> - 20110101.5-1
Brad Bell 1295bc7
- Advance to next 2011 release to fix warnings generated by g++ 4.6.1.
Brad Bell 1295bc7
- Fix comment as to when certain sed patching will no longer be necessary.
Brad Bell 1295bc7
- Make sed patching of permissions in doc destination directory more specific.
Brad Bell 1295bc7
dc53af0
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20110101.2-4
dc53af0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
dc53af0
Brad Bell 8784b95
* Wed Jan 19 2011 Brad Bell <bradbell at seanet dot com> - 20110101.2-3
Brad Bell 0a074d3
- Remove duplicate test results from build.log
Brad Bell 0a074d3
- Improve comments before patching top level makefile.in.
Brad Bell 0a074d3
- Fix rpmlint warnings about %%{_docdir}, %%{name}, and %%{version} in comments.
Brad Bell 0a074d3
- Fix rpmlint warning by changing tabs to spaces.
Brad Bell 0a074d3
- Fix rpmlint wrning by removing dot at end of Summary.
Brad Bell 0a074d3
- Change RPM_BUILD_ROOT to _builddir.
Brad Bell 0a074d3
- Improve comments (at top) about know rpmlint warnings.
Brad Bell 0a074d3
Brad Bell 0ee1e15
* Tue Jan 18 2011 Brad Bell <bradbell at seanet dot com> - 20110101.2-2
Brad Bell 0ee1e15
- Fix rpmlint error, libdir-macro-in-noarch-package by moving the pkg-config 
Brad Bell 0ee1e15
- file cppad.pc from %%_libdir to %%_datadir.
Brad Bell 0ee1e15
- Improve the %%Summary and %%description entries.
Brad Bell 0ee1e15
- Fix some rpmlint spelling warnings including xml -> XML, html -> HTML. 
Brad Bell 0ee1e15
- Document (at top of spec file) reason for other warnings that are not fixed.
Brad Bell 0ee1e15
Brad Bell 7827cd8
* Mon Jan 17 2011 Brad Bell <bradbell at seanet dot com> - 20110101.2-1 
Brad Bell 7827cd8
- The fedora source 20110101.0 has the worng check sum, get new upstream source.
Brad Bell 7827cd8
- Remove sed patches for problems that were fixed in upstream source.
Brad Bell 7827cd8
- Change makefile.in so tests include from install (not distribute) directory
Brad Bell 7827cd8
- (see comments above `find . -name 'makefile.in` above).
Brad Bell 7827cd8
Brad Bell 8784b95
* Sun Jan 09 2011 Brad Bell <bradbell at seanet dot com> - 20110101.0-2
Brad Bell 5c3d5b3
- Remove include/cppad_ipopt_nlp.hpp from distribution.
Brad Bell 5c3d5b3
- Remove lib/libspeed.a from distribution.
Brad Bell 5c3d5b3
- Add lib/pkgconfig/cppad.pc to files section (because it is installed).
Brad Bell 5c3d5b3
- Use a single sed script file with comments to do all the makefile.in edits.
Brad Bell 5c3d5b3
- Remove edits of makefile.am (not used so not reason to patch it).
Brad Bell 5c3d5b3
Brad Bell a2e0e65
* Sat Jan 08 2011 Brad Bell <bradbell at seanet dot com> - 20110101.0-1
Brad Bell a2e0e65
- Use new major version for 2011.
Brad Bell a2e0e65
- abs_top_builddir is missing from definitions in makefile.in 
Brad Bell a2e0e65
- (should be fixed in future versions of cppad).
Brad Bell a2e0e65
- The single command "make test" now builds and runs all the tests.
Brad Bell a2e0e65
43c5994
* Thu Jul 08 2010 Brad Bell <bradbell at seanet dot com> - 20100101.4-1
43c5994
- Use new upstream source which has bug fix at revision
43c5994
- https://projects.coin-or.org/CppAD/changeset/1698
43c5994
388468f
* Wed Mar 31 2010 Brad Bell <bradbell at seanet dot com> - 20100101.2-1
388468f
- Use new upstream source with bug fixes at revision
388468f
- https://projects.coin-or.org/CppAD/changeset/1664
388468f
- and remove patch from Wed Feb 10 2010. 
388468f
c1d9ba9
* Wed Feb 10 2010 Brad Bell <bradbell at seanet dot com> - 20100101.0-2
c1d9ba9
- Patch sources for bug fix between 20100101.0 and 20100101.1.
c1d9ba9
- This should no longer be necessary once a new upstream source is loaded.
c1d9ba9
Brad Bell 8784b95
* Fri Jan 01 2010 Brad Bell <bradbell at seanet dot com> - 20100101.0-1
a4c1885
- Use new upstream source.
a4c1885
- Remove out of date comment about where this spec file is maintained.
a4c1885
- Remove patches that are no longer necessary in prep section.
a4c1885
- Change calling sequence for correctness of speed tests (we do not run speed
a4c1885
- tests, that requires a computer with no other processes running).
a4c1885
c1f3220
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20090303.0-5
c1f3220
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
c1f3220
fcdaa09
* Sat Jun 20 2009 Brad Bell <bradbell at seanet dot com> 20090303-4
fcdaa09
- Patch cppad/local/fun_construct.hpp to give a more useful error message
fcdaa09
- (so we can figure out why the Fedora 11 build is failing).
fcdaa09
Brad Bell 8784b95
* Sat Jun 06 2009 Brad Bell <bradbell at seanet dot com> 20090303-3
156b504
- Patch file test_more/jacobian.cpp (required for versions below 20090606).
156b504
- Patch file cppad/local/default.hpp (required for versions below 20090606).
156b504
- Fix version (change 20080303 to 20090303) in previous two log entries.
156b504
156b504
* Mon Mar 30 2009 Brad Bell <bradbell at seanet dot com> 20090303-2
6c4c23d
- Change tabs to spaces in spec file to avoid an rpmlint warning.
6c4c23d
- The base package in previous release had no files, hence did not exist.
6c4c23d
- Use Provides: in cppad-devel to indicate that it provides cppad.
6c4c23d
156b504
* Sun Mar 29 2009 Brad Bell <bradbell at seanet dot com> 20090303-1
dd9cea5
- Change to newer version of cppad.
dd9cea5
- Create a base package that requres both devel and doc sub-packages
dd9cea5
36d20a1
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20080826.0-2
36d20a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
36d20a1
Brad Bell 8784b95
* Wed Oct 08 2008 Brad Bell <bradbell at seanet dot com> 20080826-1
4348922
- Change to newer version of cppad.
4348922
- Change download directory to standard coin-or location.
4348922
- Remove editing of speed/main.cpp (no longer necessary).
1a25585
- Add retape argument to check programs in speed directory.
4348922
8c03175
* Fri Apr 04 2008 Brad Bell <bradbell at seanet dot com> 20080403-3
8c03175
- Patch speed/main.cpp work with newer version of gcc
8c03175
- (speed/main.cpp had not been tested with new version of gcc.)
8c03175
92e5a3d
* Thu Apr 03 2008 Brad Bell <bradbell at seanet dot com> 20080403-2
92e5a3d
- Upload new source with the command
92e5a3d
- make new-sources FILES="cppad-20080403.gpl.tgz"
92e5a3d
5c5c907
* Thu Apr 03 2008 Brad Bell <bradbell at seanet dot com> 20080403-1
5c5c907
- New upstream version
5c5c907
ddb2b17
* Sat Jan 12 2008  Brad Bell <bradbell at seanet dot com> 20071229-6
ddb2b17
- Remove speed estimation correctness test because we are not in control of 
ddb2b17
- which other jobs are on the machine that is doing the rpmbuild.
ddb2b17
ddb2b17
* Fri Jan 11 2008  Brad Bell <bradbell at seanet dot com> 20071229-5
ddb2b17
- Remove introduction/exp_apx/exp_apx from the set of tests 
ddb2b17
- (which should have been done in 20071229-4). 
ddb2b17
- From now on test building rpm locally before making tags.
ddb2b17
ddb2b17
* Thu Jan 10 2008  Brad Bell <bradbell at seanet dot com> 20071229-4
ddb2b17
- Add code to print out DBL_EPSILON at the beginning of the example tests.
ddb2b17
- Remove --with-Introduction (it only checks by hand calculations that are in 
ddb2b17
- AD Introduction section of the documentation). 
ddb2b17
- Remove extra --with-Documentation
ddb2b17
f4fa512
* Wed Jan 09 2008  Brad Bell <bradbell at seanet dot com> 20071229-3
ddb2b17
- I mistakenly tried to make tag 20071229-2 in devel before committing local 
ddb2b17
- changes. It appears tag was partially created, but not sure it is correct.
ddb2b17
- So I am bumping the version number. 
f4fa512
db91459
* Wed Jan 09 2008  Brad Bell <bradbell at seanet dot com> 20071229-2
ddb2b17
- Cygwin's version of md5sum puts a <space><star> between the check sum
ddb2b17
- and the file name. Fedora build tools expect two spaces, so the star has
ddb2b17
- was changed to a space in the devel, F-7, and F-8 sources file.
db91459
dc92a74
* Sat Dec 29 2007  Brad Bell <bradbell at seanet dot com> 20071229-1
dc92a74
- Fix gpl_license.sh in upstream source (missed some special cases).
dc92a74
dc92a74
* Thu Dec 27 2007 Brad Bell <bradbell at seanet dot com> 20071225-2
dc92a74
- Fix spelling errors in this file and day of the week errors in %%changelog.
dc92a74
- Add ChangeLog, AUTHORS, uw_copy_040507.html to devel %%doc files.
dc92a74
 
dc92a74
* Tue Dec 25 2007 Brad Bell <bradbell at seanet dot com> 20071225-1
dc92a74
- %%Source points to newly created directory for archived versions cppad
dc92a74
- modify makefile.in so does not set permissions for documentation files
dc92a74
dc92a74
* Fri Dec 21 2007 Brad Bell <bradbell at seanet dot com> 20071221-1
dc92a74
- Added introduction/exp_apx/exp_apx to the list of correctness tests.
dc92a74
- Use %% to avoid macro expansion in %%changelog.
dc92a74
- Remove tabs from this spec file.
dc92a74
- Remove period from end of base package summary.
dc92a74
- Change upstream makefile.am so that it copies directories instead of files.
dc92a74
dc92a74
* Thu Dec 20 2007 Brad Bell <bradbell at seanet dot com> 20071208-2
dc92a74
- Increment release number each time a new spec file is uploaded.
dc92a74
- Use the commands %%configure, %%check.
dc92a74
- Remove the %%doc command.
dc92a74
- Use more macros, including %%{?_smp_mflags}, %%{_includedir}, %%{_docdir}.
dc92a74
dc92a74
* Thu Dec 20 2007 Brad Bell <bradbell at seanet dot com> 20071208-1
dc92a74
- Remove comments, except for those that are useful to a fedora reviewer. 
dc92a74
- Use different Summary and description for each sub-package.
dc92a74
- Use %%{?dist} in Release entry.
dc92a74
- Use %%(%%{__id_u} -n) in BuildRoot entry. 
dc92a74
- Use noarch in BuildArch entry.
Brad Bell 0a074d3
- Move -rf RPM_BUILD_ROOT from prep entry to install entry.
dc92a74
- Use macros where possible.
dc92a74
dc92a74
* Sat Dec 08 2007 Brad Bell <bradbell at seanet dot com> 20071208-1
dc92a74
- Fix all but one rpmlint warning (see Notes at beginning of this file).
dc92a74
dc92a74
* Mon Dec 03 2007 Brad Bell <bradbell at seanet dot com> 20071203-1
dc92a74
- first version of cppad that included RPM spec file.