1. It doesn't look like the %license tag is currently supported by Leap 42.1. Please just put the license file in the %doc section until
Hi, I do prefer %license before %doc for new packages, as new packages are only relevant for new distributions anyway. But one request was declined because of this, so I changed it to %doc there[1]: proper support is in place. It'd be nice if %license would be backwards-compatible interpreted as %doc in Leap < 42.2. Sebastian [1]: https://build.opensuse.org/request/show/448891 On 02/20/2017 08:39 PM, Ferdinand Thiessen wrote:
Hi,
my question: What is the consent on using the %license macro? I noticed this is available since Leap, but only works for 42.2 and newer.
(42.1 does not know the "/usr/share/licenses" directory).
Are packagers encouraged to use if for packages or should we still use %doc for licenses? I am personally use it for new packages with an "if 42.1 then doc".
And I read the discussion in openSUSE-factory and I know the advantage of %license is that you can strip %doc from the package if not needed (e.g. use less space in containers...) and still ship the license (which is in most cases mandatory according to license terms). But I see rather few packages using %license.
Regards,
Ferdinand
-- python programming - mail server - photo - video - https://sebix.at cryptographic key at https://sebix.at/DC9B463B.asc and on public keyservers