On 02. 08. 24 14:30, Nico Kadel-Garcia wrote:
On Tue, Jul 16, 2024 at 12:19 PM Miro Hrončok <mhron...@redhat.com> wrote:

On 16. 07. 24 17:08, Mark E. Fuller via devel wrote:
But the magic switch I need appears to be:

%global __python3 /usr/bin/python3.12

And:

%global python3_pkgversion 3.12

Some packages successfully build without this one, but the idea is:

BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-pytest

etc.

There are also sometimes binaries mentioned with a "-3" suffix whose
references will need to be revised, especially for "pytest" commands.
Also, don't forget to set "python3_version" along with
"python3_pkgverson".

Don't set %python3_version. It is queried from %__python3.

--
Miro Hrončok
--
Phone: +420777974800
Fedora Matrix: 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