Bug 2256310
Summary: | Review Request: golang-github-bep-mclib - A simple library to make it possible to run Mkcert's main method | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | W. Michael Petullo <mike> | ||||
Component: | Package Review | Assignee: | Mikel Olasagasti Uranga <mikel> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | rawhide | CC: | mikel, package-review | ||||
Target Milestone: | --- | Keywords: | AutomationTriaged | ||||
Target Release: | --- | Flags: | mikel:
fedora-review+
|
||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2024-01-13 23:00:27 UTC | 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: | 2209669 | ||||||
Attachments: |
|
Description
W. Michael Petullo
2023-12-31 01:37:21 UTC
Spec URL: https://www.flyn.org/SRPMS/golang-github-bep-mclib.spec SRPM URL: https://www.flyn.org/SRPMS/golang-github-bep-mclib-1.20400.20402-1.fc39.src.rpm Rebuild with go2rpm 1.10.0. Copr build: https://copr.fedorainfracloud.org/coprs/build/6840051 (succeeded) Review template: https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2256310-golang-github-bep-mclib/fedora-rawhide-x86_64/06840051-golang-github-bep-mclib/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. > %build
> for cmd in gen; do
> %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd
> done
>
> %install
> %gopkginstall
> install -m 0755 -vd %{buildroot}%{_bindir}
> install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/
> (...)
> %files
> %license LICENSE
> %doc README.md gen/truststore_other.go.txt
> %{_bindir}/*
The binary in gen is a testing tool not required to be present in the system to build Hugo (correct me if I'm wrong). Thus, it's better only to install the library.
You'll need to add "%global debug_package %{nil}" once removed the binary part.
I would also recommend to delete the `gen` dir in %prep, as it add some dependencies that are not required if the binary is not built.
Spec URL: https://www.flyn.org/SRPMS/golang-github-bep-mclib.spec SRPM URL: https://www.flyn.org/SRPMS/golang-github-bep-mclib-1.20400.20402-1.fc39.src.rpm - Do not build binary in gen/ - Update %prep to remove gen/ Created attachment 2007798 [details]
The .spec file difference from Copr build 6840051 to 6872116
Copr build: https://copr.fedorainfracloud.org/coprs/build/6872116 (succeeded) Review template: https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2256310-golang-github-bep-mclib/fedora-rawhide-x86_64/06872116-golang-github-bep-mclib/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. I am not going to go through the whole fedora-review template, as this package uses go2rpm. - [x] The specfile is sane. - [x] License is correct - [x] Builds successfully in mock - [x] Package is installable (checked by fedora-review) - [x] No relevant rpmlint errors - [x] %check section passes - [x] The latest version is packaged - [x] `%goipath` is set correctly - [-] Binaries don't conflict with binaries already in the distribution - [x] The package complies with the Packaging Guidelines. Package approved! On import, don't forget to do the following: - [ ] Add package to release-monitoring.org - [ ] Give go-sig privileges on package - [ ] Close the review bug by referencing it in the rpm changelog and the Bodhi ticket. The Pagure repository was created at https://src.fedoraproject.org/rpms/golang-github-bep-mclib FEDORA-2024-30386a09f8 has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2024-30386a09f8 FEDORA-2024-30386a09f8 has been pushed to the Fedora 40 stable repository. If problem still persists, please make note of it in this bug report. |