https://bugzilla.redhat.com/show_bug.cgi?id=1371627



--- Comment #8 from Igor Gnatenko <ignate...@redhat.com> ---
(In reply to jfch2222 from comment #7)
> Almost all done but %license tag causes local compilation fail.
> Looking at other rawhide srpms I didn't see it anywhere.

$ find -type f -name '*.spec' | xargs grep "^%license"
./hawkey/hawkey.spec:%license COPYING
./vte291/vte291.spec:%license COPYING
./python-iniparse/python-iniparse.spec:%license LICENSE LICENSE-PSF
./python-docker-squash/python-docker-squash.spec:%license LICENSE
./python-xunitparser/python-xunitparser.spec:%license LICENSE
[snip]

There is some guidelines about that. Though it fails only on EL6 I guess.

https://fedoraproject.org/wiki/Packaging:LicensingGuidelines
https://fedoraproject.org/wiki/EPEL:Packaging#Previously_required_boilerplate

As a workaround you can add into beginning of spec:
%if 0%{?rhel} && 0%{?rhel} <= 6
%{!?_licensedir:%global license %%doc}
%endif

and it will start working.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list
package-review@lists.fedoraproject.org
https://lists.fedoraproject.org/admin/lists/package-review@lists.fedoraproject.org

Reply via email to