Re: Working with epel7 on Fedora

2020-05-18 Thread José Abílio Matos
On Monday, 18 May 2020 17.38.10 WEST Miro Hrončok wrote:
> And I change it to:
> 
> %python3_pkgversion 36
> %python3_other_pkgversion 34
> 
> When needed. It is tedious 

I think that we need some kind of rpmenv (mostly in terms of the configuration 
files but you get the idea). :-)

I am only half-joking here. :-)
-- 
José Abílio
___
python-devel mailing list -- python-devel@lists.fedoraproject.org
To unsubscribe send an email to python-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/python-devel@lists.fedoraproject.org


Re: Working with epel7 on Fedora

2020-05-18 Thread Scott Talbert

On Mon, 18 May 2020, Miro Hrončok wrote:


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 :(


Thanks for the tip on ~/.rpmmacros.  That will be good enough for now I 
think.  Just have to remember to undo it when I go back to Fedora.


Scott___
python-devel mailing list -- python-devel@lists.fedoraproject.org
To unsubscribe send an email to python-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/python-devel@lists.fedoraproject.org


Re: Working with epel7 on Fedora

2020-05-18 Thread Miro Hrončok

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 :(

--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
___
python-devel mailing list -- python-devel@lists.fedoraproject.org
To unsubscribe send an email to python-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/python-devel@lists.fedoraproject.org


Working with epel7 on Fedora

2020-05-18 Thread Scott Talbert
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'

Thanks,
Scott
___
python-devel mailing list -- python-devel@lists.fedoraproject.org
To unsubscribe send an email to python-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/python-devel@lists.fedoraproject.org