On Mon, Jan 09, 2023 at 09:37:44PM -0600, Richard Shaw wrote:
Now I'm getting bit by the rpmautospec and COPR issue.
Please be more precise. How are you building the rpms?
If rpmautospec is used in COPR, and the build is started in a
compatible way, the release field should be the same as in koji.
I'm trying to test rebuilds of all dependent packages for a new
OpenColorIO
release, but usd uses rpmautospec and in Fedora it's usd-<version>-16 but
COPR is calculating it as usd-<version>-9 so the Fedora version has a
higher NEVR.
First of all, if you e.g. want to test the rebuilt packages on your system,
you can always install a lower version than the one currently released.
Dnf allows both downgrades and installations of a specific package and
a specific package version.
Second, how exactly are you building the package?
Looking at [1], you used "Source Type: SRPM or .spec file upload".
How was it generated?
[1]
https://copr.fedorainfracloud.org/coprs/hobbes1069/OIIO/build/5210045/
Both 'fedpkg srpm' and uploading that to copr, and letting copr build from
dist-git should result in the expected release. (Though without other steps
it'll still be the same as the version in Fedora release, so you'll need
to tell dnf to install that specific build.)
Zbyszek