fix license and add comment about fedpkg lint license error

This commit is contained in:
Brad Bell 2019-05-29 20:13:07 -07:00
commit 8d104743f1

View file

@ -2,11 +2,14 @@
# ----------------------------------------------------------------------------
# Lint
# ----------------------------------------------------------------------------
# The comamnd 'fedpkg lint' generates the warning:
# The comamnd 'fedpkg lint' generates the following warnings:
#
# cppad.spec:99: W: rpm-buildroot-usage
# cppad.src: W: invalid-license EPL-2.0
# This appears to be a lint error because EPL-2.0 is in the list on
# https://fedoraproject.org/wiki/Licensing:Main?rd=Licensing
#
# cppad.src:103: W: rpm-buildroot-usage
# %%prep includedir=%%{buildroot}%%{_includedir}
#
# See https://lists.fedoraproject.org/pipermail/devel/2011-January/147969.html
# ----------------------------------------------------------------------------
# Preamble
@ -31,7 +34,7 @@ Summary: C++ Algorithmic Differentiation (AD), %{name}-devel and %{name}-doc
# change (see mention of cppad_lib below).
%global debug_package %{nil}
License: EPL2.0 or (GPL2 or later)
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
@ -174,6 +177,7 @@ make check
%changelog
* Wed May 29 2019 Brad Bell <bradbell at seanet dot com> - 20190200.0-3
- Bug fix corresponding to upstream source 20190200.3.
- Fix license field and add comment at top about fedpkg lint license mistake.
* Fri Feb 01 2019 Brad Bell <bradbell at seanet dot com> - 20190200.0-2
- Test with corrected version of source2; i.e., 20190200.doc.tar.gz