On Tue, Jan 10, 2023 at 11:48 AM Miro Hrončok <mhroncok(a)redhat.com> wrote:
On 10. 01. 23 13:52, Richard Shaw wrote:
> 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/
> <
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.)
>
>
> Looks like the problem is using `rpkg` but that's the easiest method and
has
> worked great until now...
For the record I've reported several issues with the rpkg method over the
years. The distgit method was partially a response for those. tl;dr rpkg
"works
great" until it doesn't because it does not work like fedpkg, but instead
it is
a pre-processor for templated spec files that happens to work in most of
the
cases with bare spec files as well.
I didn't realize the fedpkg had grown the ability to do COPR builds. I will
use that from now on.
Thanks,
Richard