Bug 2357479

Summary: Review Request: libpisp - A helper library for the Raspberry Pi ISP (PiSP)
Product: [Fedora] Fedora Reporter: Peter Robinson <pbrobinson>
Component: Package ReviewAssignee: Nobody's working on this, feel free to take it <nobody>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: code, jspaleta, mzamazal, package-review
Target Milestone: ---Keywords: AutomationTriaged
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
URL: https://github.com/raspberrypi/libpisp
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2357897    
Attachments:
Description Flags
The .spec file difference from Copr build 8860655 to 10148743 none

Description Peter Robinson 2025-04-04 12:11:04 UTC
SPEC: https://pbrobinson.fedorapeople.org/libpisp.spec
SRPM: https://pbrobinson.fedorapeople.org/libpisp-1.2.0-1.fc42.src.rpm

Description:
A helper library to generate run-time configuration for the Raspberry Pi
ISP (PiSP), consisting of the Frontend and Backend hardware components.

koji: https://koji.fedoraproject.org/koji/taskinfo?taskID=131098324

FAS: pbrobinson

Reproducible: Always

Comment 1 Fedora Review Service 2025-04-04 12:26:21 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/8860655
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2357479-libpisp/fedora-rawhide-x86_64/08860655-libpisp/fedora-review/review.txt

Please take a look if any issues were found.


---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 2 Ben Beasley 2025-05-19 13:35:46 UTC
The CC0-1.0 license is allowed for content in Fedora, but not-allowed for code.

The meson wrap file utils/libpisp.wrap is an ini-style configuration file and can be considered content. I think the meson options configuration file meson_options.txt should also be considered content.

On the other hand, meson is a (domain-specific, limited) programming language, so I think all of the meson.build files should be considered code. The versioning script utils/version.py is certainly code. Even though these are all build-system files that do not contribute to the licenses of the binary RPMs, CC0-1.0 code cannot be included in source RPMs, either.

For utils/version.py, you could upload a “filtered” source archive to the lookaside cache with the problematic file removed. For the meson.build files, this is not an option, because you need them to build the libary. The only possibilities would seem to be (1) convincing upstream to relicense the files, or (2) convincing Fedora Legal that a usage exception (https://docs.fedoraproject.org/en-US/legal/license-field/#_usage_exceptions) should apply in this case.

Comment 3 Peter Robinson 2025-06-18 09:43:24 UTC
I have filed an issue with upstream, also note utils/version.py like the meson files aren't shipped.

Comment 4 Jef Spaleta 2025-09-11 19:24:20 UTC
Hey so an update. 
Upstream has changed the license on the items in the utils directory.  So a question for the initial reviewer, with that change do you feel things are now in compliance?

ref: https://github.com/raspberrypi/libpisp/pull/51

Comment 5 Ben Beasley 2025-09-11 22:17:17 UTC
(In reply to Jef Spaleta from comment #4)
> Hey so an update. 
> Upstream has changed the license on the items in the utils directory.  So a
> question for the initial reviewer, with that change do you feel things are
> now in compliance?
> 
> ref: https://github.com/raspberrypi/libpisp/pull/51

Note that I’m just a commenter for now, and I haven’t assigned myself the review.

As of the latest upstream commit[1], the only remaining CC0-1.0 files in the source are meson files, e.g. [2]. While these don’t contribute to the License field, they are still distributed in the source RPM and need to be acceptably-licensed. There is an exception in the CC0-1.0 usage notes[3] that may be somewhat relevant here:

> Upstream application of CC0-1.0 to trivial, noncreative, unoriginal,
> and nonexpressive material as part of an effort to achieve conformance
> to the REUSE specification (https://reuse.software/) (for example,
> CI/CD configuration files) is permitted regardless of whether such
> material would normally be classified as "content".

That nearly applies to this case, but it does not look like upstream is actually targeting REUSE, and some of the meson.build files seem to be pushing the bounds of “trivial.” I still think it makes sense to ask upstream to relicense the meson.build files too, or run this case by Fedora Legal if that approach doesn’t bear fruit.

[1] https://github.com/raspberrypi/libpisp/commit/dbbcf4f828396b494bcefe42fdc48beb6ae2a1c5

[2] https://github.com/raspberrypi/libpisp/blob/dbbcf4f828396b494bcefe42fdc48beb6ae2a1c5/src/meson.build

[3] https://gitlab.com/fedora/legal/fedora-license-data/-/blob/56aeba99ba1b551e82b359bde277d1c51cc26e13/data/CC0-1.0.toml#L16-L20

Comment 7 Fedora Review Service 2026-02-18 15:54:26 UTC
Created attachment 2129863 [details]
The .spec file difference from Copr build 8860655 to 10148743

Comment 8 Fedora Review Service 2026-02-18 15:54:29 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/10148743
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2357479-libpisp/fedora-rawhide-x86_64/10148743-libpisp/fedora-review/review.txt

Please take a look if any issues were found.


---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 9 Ben Beasley 2026-02-20 08:36:20 UTC
(In reply to Peter Robinson from comment #6)
> Update fixed the license and that's in the 1.3.0 release
> 
> https://github.com/raspberrypi/libpisp/pull/51

Hmm, but all of the meson.build files are still CC0-1.0, which brings us back to the issues discussed in https://bugzilla.redhat.com/show_bug.cgi?id=2357479#c5.