Bug 2074405 - Review Request: golang-github-timtadh-data-structures - Extra Go data structures
Summary: Review Request: golang-github-timtadh-data-structures - Extra Go data structures
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nobody's working on this, feel free to take it
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2074458
TreeView+ depends on / blocked
 
Reported: 2022-04-12 07:52 UTC by Julien Rische
Modified: 2022-08-25 16:39 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2022-08-25 16:39:27 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Comment 1 Steve Traylen 2022-04-14 13:43:06 UTC
The three patches , they look like they should go upstream, can you submit and provide links:

https://docs.fedoraproject.org/en-US/packaging-guidelines/PatchUpstreamStatus/#_all_patches_should_have_an_upstream_bug_link_or_comment

Comment 2 Steve Traylen 2022-04-14 13:47:18 UTC
rpmlint results:

golang-github-timtadh-data-structures.spec: W: no-%build-section
golang-github-timtadh-data-structures.spec:20: W: mixed-use-of-spaces-and-tabs (spaces: line 1, tab: line 20)
golang-github-timtadh-data-structures-devel.noarch: W: hidden-file-or-dir /usr/share/gocode/src/github.com/timtadh/data-structures/.goipath
=================================== 2 packages and 0 specfiles checked; 0 errors, 3 warnings, 0 badness; has taken 0.6 s ===================================
[fedora@fed34 result]$

In the past I've just done

%build
# nothing to build 

but happy to go with what the go pages suggest.

Comment 3 Julien Rische 2022-04-29 15:52:18 UTC
I removed tabs from the spec file.

I opened a PR for each patch (link in patch files[1]).

According to the Go packaging documentation[2], the %build section can be ignored in devel-only packages.

Here[3] is the latest build.

[1] https://pagure.io/rpm-golang-github-timtadh-data-structures/tree/rawhide
[2] https://docs.fedoraproject.org/en-US/packaging-guidelines/Golang/#_packaging_a_binary_the_build_section
[3] https://copr.fedorainfracloud.org/coprs/jrische/golang-github-timtadh-data-structures/build/4346248/

Comment 6 Julien Rische 2022-08-25 16:39:27 UTC
This package was an indirect dependency of yq, but it not longer is.


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