Change: Source1, Source2 -> Source0, Source1.
Change: make %{?_smp_mflags} -> %make_build
Change: make install DESTDIR=%{buildroot} -> %make_install.
This commit is contained in:
parent
f92caad6c7
commit
c1de1c8d02
1 changed files with 11 additions and 5 deletions
16
cppad.spec
16
cppad.spec
|
|
@ -18,8 +18,8 @@ Summary: C++ Algorithmic Differentiation (AD), %{name}-devel and %{name}-doc
|
|||
|
||||
License: EPL-2.0 or GPLv2+
|
||||
URL: http://coin-or.github.io/CppAD
|
||||
Source1: https://github.com/coin-or/CppAD/archive/%{version}.tar.gz
|
||||
Source2: https://github.com/coin-or/CppAD/archive/%{yyyymmdd}.doc.tar.gz
|
||||
Source0: https://github.com/coin-or/CppAD/archive/%{version}.tar.gz
|
||||
Source1: https://github.com/coin-or/CppAD/archive/%{yyyymmdd}.doc.tar.gz
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: cmake >= 2.8
|
||||
|
|
@ -151,14 +151,17 @@ cppad_cxx_flags='-Wall -pedantic-errors -std=c++11 -Wshadow -Wconversion'
|
|||
-D cppad_debug_which='debug_all' \
|
||||
CppAD-%{version}
|
||||
#
|
||||
make %{?_smp_mflags}
|
||||
# see https://docs.fedoraproject.org/en-US/packaging-guidelines/
|
||||
# parallel_make
|
||||
%make_build
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# Install
|
||||
# -----------------------------------------------------------------------------
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
make install DESTDIR=%{buildroot}
|
||||
# https://docs.fedoraproject.org/en-US/packaging-guidelines/
|
||||
# why_the_makeinstall_macro_should_not_be_used
|
||||
%make_install
|
||||
|
||||
%files devel
|
||||
%{_includedir}/%{name}
|
||||
|
|
@ -186,6 +189,9 @@ make %{?_smp_mflags} check
|
|||
* Sun Feb 28 2021 Brad Bell <bradbell at seanet dot com> - 20210000.5-1
|
||||
- Advance to upstream source 20210000.5
|
||||
- Remove patches that are no longer necessary.
|
||||
- Change: Source1, Source2 -> Source0, Source1.
|
||||
- Change: make %%{?_smp_mflags} -> %%make_build
|
||||
- Change: make install DESTDIR=%%{buildroot} -> %%make_install.
|
||||
|
||||
* Thu Feb 18 2021 Brad Bell <bradbell at seanet dot com> - 20210000.3-3
|
||||
- Patch corresponding to bug fix in upstream source 20210000.5
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue