Bug 2318604 - Review Request: golang-github-x448-float16 - Provides IEEE 754 half-precision format
Summary: Review Request: golang-github-x448-float16 - Provides IEEE 754 half-precision...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Mikel Olasagasti Uranga
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2318425
TreeView+ depends on / blocked
 
Reported: 2024-10-14 18:53 UTC by Tom.Rix
Modified: 2024-11-05 14:00 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-11-05 14:00:15 UTC
Type: ---
Embargoed:
mikel: fedora-review+


Attachments (Terms of Use)

Comment 1 Mikel Olasagasti Uranga 2024-10-21 20:19:16 UTC
Spec has been created with go2rpm, but bootstrapping logic has been stripped. Can you run `go2rpm -q github.com/x448/float16` again and keep it? It makes future maintainability easier.

Otherwise the spec is fine.

Comment 2 Tom.Rix 2024-10-22 10:21:24 UTC
Can you explain why the bootstapping logic is needed ?
I did not have to use it.

Comment 3 Mikel Olasagasti Uranga 2024-10-22 10:28:51 UTC
It was added as part of the go2rpm default template in 1.14 and by default is disabled. The reason it was added is explained here https://gitlab.com/fedora/sigs/go/go2rpm/-/merge_requests/13#note_1965122324 and is used in case it's needed for complex packages.

When I mention maintainability I refer that in the future if instead of just bumping the version (manually, using rpmdev-bumpspec, ...) go2rpm is used to update the template, there will be always this change that will need to be reapplied.

If you still prefer to remove it, I can review the packages with that preference.

Comment 4 Tom.Rix 2024-10-22 18:16:17 UTC
This and the other ollama packages are very simple packages, i removed the bootstrapping logic because to get the package built i did not have to do anything fancy and did not need/use the logic.  Not needing something, I removed it to make the spec file simpler.

Comment 5 Tom.Rix 2024-10-26 12:18:58 UTC
Is there anything I need to do here ?

Comment 6 Mikel Olasagasti Uranga 2024-10-30 10:39:47 UTC
> # https://github.com/x448/float16.git

This is a manual edit, not from the template. Please, change before pushing.

Golang Package Review
==============

This package was generated using go2rpm, which simplifies the review.

Legend:
[x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated


- [x] The latest version is packaged or packaging an earlier version is justified.
- [x] The License tag reflects the package contents and uses the correct identifiers.
- [x] The package builds successfully in mock.
- [x] Package is installable (checked by fedora-review).
- [x] There are no relevant rpmlint errors.
- [x] The package runs tests in %check.
- [x] `%goipath` is set correctly.
- [-] The package's binaries don't conflict with binaries already in the distribution. (Some Go projects include utility binaries with very generic names)
- [-] There are no `%{_bindir}/*` wildcards in %files. (go2rpm includes these by default)
- [x] The package does not use `%gometa -f` if it has dependents that still build for %ix86.
- [x] The package complies with the Golang and general Packaging Guidelines.

Package approved! On import, don't forget to do the following:

- [ ] Add the package to release-monitoring.org
- [ ] Give go-sig privileges (at least commit) on the package
- [ ] Close the review bug by referencing its ID in the rpm changelog and the Bodhi ticket.
- [ ] Consider configuring Packit service to help with maintenance

Thanks!

Comment 7 Fedora Admin user for bugzilla script actions 2024-10-31 13:41:04 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/golang-github-x448-float16


Note You need to log in before you can comment on or make changes to this bug.