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



--- Comment #4 from wojnilowicz <[email protected]> ---
(In reply to Mikel Olasagasti Uranga from comment #3)
> > > - Are the binaries built when devtools is enabled required at all?
> > 
> > AFAIK, no. The pre-build binary at
> > https://github.com/jesseduffield/lazygit/releases/download/v0.66.2/lazygit_0.
> > 66.2_linux_x86_64.tar.gz is distibuted without these devtools binaries.
> 
> Then I think it's best to remove them. 

Done.

> > > - Upstream sets multiple LDFLAGS, have you checked if they're required?
> > > https://github.com/jesseduffield/lazygit/blob/master/.goreleaser.yml#L18
> > 
> > Beside some automated checks for updates, `lazygit -v` uses it to print
> > something like this
> > commit=63ab89fff478854deb4a35ef8902676b3cc5ca72, build
> > date=2026-10-16T09:27:30Z, build source=binaryRelease, version=0.66.2,
> > os=linux, arch=amd64, git version=2.56.0
> > 
> > I added these LDFLAGS as well. I undestand that you weren't asking about the
> > -s and -w flags which I believe would remove debug info. More info at
> > https://pkg.go.dev/cmd/link
> 
> Correct, I meant for those that -v show. If you want to use packit the
> "commit" var can be a problem, so maybe you can set it to Fedora also.

I set it to "unspecified".

> ># Fix licensing of github.com/kr/logfmt
> > Patch0:         https://github.com/jesseduffield/lazygit/pull/6142.patch
> 
> The patch might not needed for Fedora. You can use an override to update
> kr/logfmt to commit 19f9bcb100e6bcb308b5db29c682de01e9b3f2e6
> 
> Try with adding the following to go-vendor-tools.toml
> 
> [archive.dependency_overrides]
> "github.com/kr/logfmt" = "19f9bcb100e6"
> 
> For upstream you should only update go.mod/go.sum and let "go vendor" do the
> update of dependencies.

Done.


FYI, I updated the original spec file.

[fedora-review-service-build]


-- 
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=2555050

Report this comment as SPAM: 
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202555050%23c4

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