On 18. 05. 20 18:23, Scott Talbert wrote:
Any good workarounds for working with epel7 Python packages on Fedora? Mainly dealing with the fact that python3_pkgversion differs from Fedora to EPEL7. Ie, when doing 'fedpkg mockbuild' the SRPM will be generated with the wrong python3_pkgversion.
I tried this, but it didn't seem to work: fedpkg --release epel7 srpm --define 'python3_pkgversion 36'
There is a RFE open for +- this workaround to actually work:
https://pagure.io/rpkg/issue/432
This other RFE should make that workaround not needed (and the description contains manual steps to create a valid SRPM to build in mock):
https://pagure.io/rpkg/issue/495
Here is a relevant bugzilla:
https://bugzilla.redhat.com/show_bug.cgi?id=1767576
I don't work with epel7 packages daily, but I do have this in my ~/.rpmmacros:
#python3_pkgversion 36 #python3_other_pkgversion 34
And I change it to:
%python3_pkgversion 36 %python3_other_pkgversion 34
When needed. It is tedious :(