[go-rpm-macros] Issue #3: %goprep should apply patches automatically
by Nicolas Mailhot
nim reported a new issue against the project: `go-rpm-macros` that you are following:
``
`%goprep` should apply patches automatically, so there is no convenience gap with `%autosetup`.
This is generic work that should be done *redhat-rpm-config* side in forge macros and then reused in`%goprep`. Basically:
1. define a `patch_flags<suffix>` rpm variable holding the parameters that should be passed to `%patch<suffix>`
2. define a `default_flags<suffix>` fallback
3. define a `source_patches<suffix>` holding an ordered space separated list of patch suffixes associated with a particular forge/go source.
And then write the usual lua loops to apply it all at the right moment in the spec.
``
To reply, visit the link below or just reply to this email
https://pagure.io/go-rpm-macros/issue/3
3 weeks, 4 days
Tracking Go upstream packages
by Robert-André Mauchin
Hi,
I wrote a quick and dirty Python 3 script to track upstream package version
including last GIT commit and commit date, so you can compare Hedora's version
with upstream. This is slightly better than Anitya as it supports commit.
It takes as input a file containing one Fedora package per line and as output
a "TODO Golang update.csv".
I have not put this on Github yet but if you're interested in improving it, I
can do that. I'm not a programming specialist so I'm sure there is tons of
errors and dirty hack in there.
I'm joining the script and an example output from almost all packages we have.
Best regards,
Robert-André
3 years, 1 month