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.

Examples:

https://pagure.io/copr/copr/issue/1703
https://pagure.io/copr/copr/issue/798
https://pagure.io/copr/copr/issue/1219

Umbrella issue:
https://pagure.io/copr/copr/issue/529

--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to