On Sun, Jan 22, 2017 at 4:31 PM, Theodore Papadopoulo
<Theodore.Papadopoulo(a)inria.fr> wrote:
OK, I hope I have taken into acount of all suggestions except one (I
found nothing on %licence in %files).
"If the source package includes the text of the license(s) in its own
file, then that file, containing the text of the license(s) for the
package must be included in %license."
(taken from
https://fedoraproject.org/wiki/Packaging:LicensingGuidelines )
You should change
%files
%doc COPYING AUTHORS ChangeLog NEWS README
to
%files
%license COPYING
%doc AUTHORS ChangeLog NEWS README
I think that if you're packaging for EPEL you may also need
%{!?_licensedir:%global license %doc}
right after %files, but I'm not sure if it's needed any more.