[Bug 1371627] Review Request: inih - Simple INI file parser library

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



--- Comment #8 from Igor Gnatenko <ignatenko@xxxxxxxxxx> ---
(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@xxxxxxxxxxxxxxxxxxxxxxx
https://lists.fedoraproject.org/admin/lists/package-review@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]