Bug 2334845 - Review Request: golang-github-bep-imagemeta - Go library for reading EXIF, IPTC and XMP image meta data from image files.
Summary: Review Request: golang-github-bep-imagemeta - Go library for reading EXIF, IP...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Mikel Olasagasti Uranga
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2290316
TreeView+ depends on / blocked
 
Reported: 2024-12-29 18:09 UTC by W. Michael Petullo
Modified: 2024-12-31 20:31 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-12-31 20:31:50 UTC
Type: ---
Embargoed:
mikel: fedora-review+


Attachments (Terms of Use)
The .spec file difference from Copr build 8453956 to 8456267 (710 bytes, patch)
2024-12-31 00:34 UTC, Fedora Review Service
no flags Details | Diff

Description W. Michael Petullo 2024-12-29 18:09:03 UTC
Spec URL: https://www.flyn.org/SRPMS/golang-github-bep-imagemeta.spec
SRPM URL: https://www.flyn.org/SRPMS/golang-github-bep-imagemeta-0.8.3-1.fc41.src.rpm
Description: Go library for reading EXIF, IPTC and XMP image meta data from JPEG, TIFF, PNG, and WebP files.
Fedora Account System Username: mikep

Comment 1 Fedora Review Service 2024-12-29 18:13:53 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/8453956
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2334845-golang-github-bep-imagemeta/fedora-rawhide-x86_64/08453956-golang-github-bep-imagemeta/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 Mikel Olasagasti Uranga 2024-12-30 22:25:58 UTC
> %if %{without bootstrap}
> %build
> for cmd in gen; do
>   %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd
> done
> %endif

I think this is a testing app not required. If so, can you remove it? To remove it also remove the %files section and 

> install -m 0644 -vp metadecoder_iptc_fields.json %{buildroot}%{_datarootdir}/gocode/src/github.com/bep/imagemeta

Can you replace with:

%global gosupfiles      metadecoder_iptc_fields.json

You can use https://src.fedoraproject.org/rpms/golang-github-projectdiscovery-goflags/blob/rawhide/f/golang-github-projectdiscovery-goflags.spec#_17 as example

Comment 3 W. Michael Petullo 2024-12-31 00:31:38 UTC
Spec URL: https://www.flyn.org/SRPMS/golang-github-bep-imagemeta.spec
SRPM URL: https://www.flyn.org/SRPMS/golang-github-bep-imagemeta-0.8.3-1.fc41.src.rpm
Description: Go library for reading EXIF, IPTC and XMP image meta data from JPEG, TIFF, PNG, and WebP files.
Fedora Account System Username: mikep

- Defined gosupfiles
- Removed %build section
- Removed explicit install of metadecoder_iptc_fields.json
- Removed %files section
- Removed explicit include of metadecoder_iptc_fields.json following %gopkgfiles

Comment 4 Fedora Review Service 2024-12-31 00:34:37 UTC
Created attachment 2064326 [details]
The .spec file difference from Copr build 8453956 to 8456267

Comment 5 Fedora Review Service 2024-12-31 00:34:39 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/8456267
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2334845-golang-github-bep-imagemeta/fedora-rawhide-x86_64/08456267-golang-github-bep-imagemeta/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 6 Mikel Olasagasti Uranga 2024-12-31 10:47:57 UTC
> E: summary-too-long Go library for reading EXIF, IPTC and XMP image meta data from JPEG, TIFF, PNG, and WebP files

"Go library for reading EXIF, IPTC and XMP image meta data" works fine.

Change that before importing please.

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 for all your contributions in 2024!

Comment 7 Fedora Admin user for bugzilla script actions 2024-12-31 20:12:46 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/golang-github-bep-imagemeta

Comment 8 Fedora Update System 2024-12-31 20:27:47 UTC
FEDORA-2024-5825d02f27 (golang-github-bep-imagemeta-0.8.3-1.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-5825d02f27

Comment 9 Fedora Update System 2024-12-31 20:31:50 UTC
FEDORA-2024-5825d02f27 (golang-github-bep-imagemeta-0.8.3-1.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.


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