Miro Hrončok wrote on Wed, Nov 27, 2019 at 04:32:27PM +0100: > If I understand this properly, your package requires (in Fedora): > > - /usr/bin/python3 > - python3.8dist(setuptools) Yes, on Fedora 31 the current requires for clustershell (to continue with that example) contain these: $ rpm -q --requires python3-clustershell /usr/bin/python3 python(abi) = 3.7 python3-PyYAML python3-setuptools python3.7dist(pyyaml) python3.7dist(setuptools) rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(PayloadIsZstd) <= 5.4.18-1 > And in Fedora, when you ahve both of those, it also means that > /usr/bin/python3 is Python 3.8. Ok, I thought it was just much less likely but it would also fail on upgrade, good to know. > However, this might not be the case for EPELs. Yes, they have python36-setuptools and python34-setuptools at the same time right now, and the packages do not conflict in any way. > The easiest way to ensure a specific shebang is: > > %global __python3 /usr/bin/python%{python3_version} Thanks, I will add that for our EPEL builds only. -- Dominique _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx 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@xxxxxxxxxxxxxxxxxxxxxxx