Hi Robert-André,
On Monday, January 10, 2022 8:12:02 PM CST Robert-André Mauchin wrote:
This is correct but add the Provides too.
According to the Packaging Guidelines[1]: "If a package supersedes/replaces an
existing package without being a sufficiently compatible replacement as defined above, use
only the Obsoletes: line from the above example." I purposely left it out, because
changing the ipath also changes the destination from
`/usr/share/gocode/src/github.com/cli/cli` to
`/usr/share/gocode/src/github.com/cli/cli/v2`. Is that still "sufficiently
compatible"?
[1]:
https://docs.fedoraproject.org/en-US/packaging-guidelines/#renaming-or-re...
Added couple of tweaks but
haven't tested them yet, especially the SOURCE_DATE_EPOCH. Try to build
it and see if the output is coherent.
Thank you for the suggestions. I was already going to change the version to use the macro,
but assuming it works, the SOURCE_DATE_EPOCH change is much nicer than manually specifying
the date.
Thanks again,
Maxwell
--
Maxwell G (@gotmax23)
Pronouns: He/Him/His
PGP Key Fingerprint: f57c76e5a238fe0a628e2ecef79e4e25e8c661f8
PGP Keyserver:
hkp://keyserver.ubuntu.com
gotmax(a)e.email