[Rpm-maint] [rpm-software-management/rpm] Can `License` field work cumulatively (Discussion #2892)
Vít Ondruch
notifications at github.com
Thu Feb 8 12:10:02 UTC 2024
Specifying multiple `License` fields is currently prohibited:
~~~
warning: line 180: second License
error: Duplicate License entries in package: (main package)
~~~
Is it possible to change the behavior so the multiple license fields were supported and there would be `AND` relation between them?
For example, currently the license line can look like this:
~~~
# BSD-3-Clause: missing/{crypt,mt19937,setproctitle}.c
# ISC: missing/strl{cat,cpy}.c
# Public Domain for example for: include/ruby/st.h, strftime.c, missing/*, ...
# MIT and CCO: ccan/*
# zlib: ext/digest/md5/md5.*, ext/nkf/nkf-utf8/nkf.c
# Unicode-DFS-2015: some of enc/trans/**/*.src
License: (Ruby OR BSD-2-Clause) AND BSD-3-Clause AND ISC AND Public Domain AND MIT and CC0 AND zlib AND Unicode-DFS-2015
~~~
But it could look this way:
~~~
License: Ruby OR BSD-2-Clause
# BSD-3-Clause: missing/{crypt,mt19937,setproctitle}.c
License: BSD-3-Clause
# ISC: missing/strl{cat,cpy}.c
License: ISC
# Public Domain for example for: include/ruby/st.h, strftime.c, missing/*, ..
License: Public Domain
# MIT and CCO: ccan/*
License: MIT and CC0
# zlib: ext/digest/md5/md5.*, ext/nkf/nkf-utf8/nkf.c
License: zlib
# Unicode-DFS-2015: some of enc/trans/**/*.src
License: Unicode-DFS-2015
~~~
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/discussions/2892
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/repo-discussions/2892 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20240208/d878b34b/attachment-0001.html>
More information about the Rpm-maint
mailing list