From 8d104743f11b244a20e6ea1e87f152aa1313889f Mon Sep 17 00:00:00 2001 From: Brad Bell Date: Wed, 29 May 2019 20:13:07 -0700 Subject: [PATCH] fix license and add comment about fedpkg lint license error --- cppad.spec | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/cppad.spec b/cppad.spec index 0c94268..a52397f 100644 --- a/cppad.spec +++ b/cppad.spec @@ -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 - 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 - 20190200.0-2 - Test with corrected version of source2; i.e., 20190200.doc.tar.gz