https://bugzilla.redhat.com/show_bug.cgi?id=2357479



--- Comment #20 from Peter Robinson <[email protected]> ---
> ----
> 
> The LICENSE is a symbolic link to LICENSES/BSD-2-Clause.txt. This is fine,
> but
> you need to actually ship LICENSES/BSD-2-Clause.txt. As it is, the symbolic
> link is dangling and the required license text isn’t present.
> 
> In addition to the BSD-2-Clause license text, which must be included per the
> license’s terms, and which is already shipped as LICENSE, there are other
> license texts in LICENSES/.
> 
> 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.).
> Still, I suppose these files aren’t hurting anyone.
> 
> On the other hand, LICENSES/GPL-2.0-only.txt and
> LICENSES/Linux-syscall-note.txt do pertain to code that contributes to the
> binary RPMs, so please include them as additional license files.
> 
> I would probably just write:
> 
>     %license LICENSE LICENSES/
> 
> and optionally add to %prep:
> 
>     # These licenses do not actually apply to anything in the source:
>     rm LICENSES/GPL-2.0-or-later.txt LICENSES/MIT.txt

I dealt with the above slightly differently but with the same outcome.

> I think this guideline is a little silly, as manually-maintained BR’s don’t
> seem like the best way to track down dependencies on header-only libraries,
> but
> since the json package is a header-only library, you must add
> 
>   BuildRequires:  json-static
> 
> instead of or in addition to json-devel.

I mean this is ridiculous but whatever, done

> - There is no need to number the sole source file; Source0: could be just

Except if you later add more than one you have to change it.

> - 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.

I put it in build as you're traditionally not meant to 'compile' in prep so I
will leave it as is until we get more pointless churn from the packaging group.

> - You might consider excluding i686, since it will certainly never be needed.

Technically ExclusiveArch: aarch64 would be the more correct way of dealing
with it.

Anyway, all updated, hopefully this is now it:

SPEC: https://pbrobinson.fedorapeople.org/libpisp.spec
SRPM: https://pbrobinson.fedorapeople.org/libpisp-1.7.0-2.fc44.src.rpm

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


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
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%23c20

-- 
_______________________________________________
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

Reply via email to