openSUSE / py2pack

Generate distribution packages from PyPI
Apache License 2.0
69 stars 40 forks source link

Support %license macro #106

Closed toabctl closed 5 years ago

toabctl commented 5 years ago

When generating a .spec file for openSUSE, use the %license macro when a LICENSE or COPYING file is found instead of the %doc macro. This is a recent change in openSUSE. See https://en.opensuse.org/openSUSE:Packaging_guidelines#Licensing