https://bugzilla.redhat.com/show_bug.cgi?id=2357479
--- Comment #26 from Peter Robinson <[email protected]> --- > ===== Issues ===== > > - Upstream is right in https://github.com/raspberrypi/libpisp/pull/79 that, > strictly speaking, the compiled library does have MIT-licensed content due > to > the header-only json/nlohmann_json library. > > Since we treat header-only libraries as a kind of static library in Fedora, > we should include an MIT term in the License expression too. I should have > observed that in the original review. > > Furthermore, the json package in Fedora actually carries the license "MIT > AND > CC0-1.0", because nlohmann_json includes a copy of hedley, > https://src.fedoraproject.org/rpms/hedley, which is CC0-1.0 and covered by > the exception for existing uses in Fedora prior to 2022-08-01. > > So strictly speaking, we should have something like (where, again, the > breakdown comment is formally optional but quite useful): > > # The entire source is BSD-3-Clause, except that the following are > # GPL-2.0-only WITH Linux-syscall-note: > # src/libpisp/backend/pisp_be_config.h > # src/libpisp/common/pisp_common.h > # src/libpisp/frontend/pisp_fe_config.h > # src/libpisp/frontend/pisp_statistics.h > # The header-only json/nlohmann_json dependency is (MIT AND CC0-1.0), > where > # the CC0-1.0 term is due to the incorporation of hedley and is covered > by > # the exception for existing uses in Fedora prior to 2022-08-01. > License: %{shrink: > BSD-3-Clause > AND GPL-2.0-only WITH Linux-syscall-note > AND MIT > AND CC0-1.0 > } > > I don’t think that this merits another round of review, but please do > handle > the license expression change on import. I have dealt with that and incorporated it into my local copy which will be imported shortly. > ===== Notes (no change required for approval) ===== > > - It would be nice to make note of which files are > GPL-2.0-only WITH Linux-syscall-note in a license-breakdown comment. > This used to be strictly required, but currently isn’t, > https://gitlab.com/fedora/legal/fedora-legal-docs/-/issues/64. Still, > it makes it easier to understand where the license expression comes from > and > to re-review it in the future. > > - The files LICENSES/GPL-2.0-or-later.txt and LICENSES/MIT.txt don’t seem to > be > needed, because I couldn’t find any files under either of these licenses. > (There is GPLv2 code, but it is GPL-2.0-only WITH Linux-syscall-note.). > I suppose these files aren’t hurting anyone, but you might consider > removing > them to avoid confusion. Something like this would work in %prep: > > # These licenses do not actually apply to anything in the source: > rm LICENSES/GPL-2.0-or-later.txt LICENSES/MIT.txt > > - There is no need to explictly number the source and patch here (Source: and > Patch: would work just as well), but it isn’t hurting anything. > > - Semantically, the %meson command fits well in RPM’s %conf section rather > than > in %build. We haven’t written guidelines for %conf yet, and it’s not > supported in EPEL9’s rpm. > > - You might consider excluding i686, since it will certainly never be needed. > > # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval > ExcludeArch: %{ix86} I've addressed most of the above, except conf section, and file numbering. > - I see that there’s an optional GStreamer plugin that you could build. You > understand better than I whether that would be useful or not. That's on my todo, it was introduced after the initial packaging, and may also rely on functionality not upstream yet. I want to actually get the camera working at all in Fedora first, then we can add extra functionality :) -- You are receiving this mail because: You are always notified about changes to this product and component You are on the CC list for the bug. https://bugzilla.redhat.com/show_bug.cgi?id=2357479 Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202357479%23c26 -- _______________________________________________ package-review mailing list -- [email protected] To unsubscribe send an email to [email protected] Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/[email protected] Do not reply to spam, report it: https://forge.fedoraproject.org/infra/tickets/issues/new
