python-rpm-macros/tests
Miro Hrončok c7a9537dba Set %__python3 value according to %python3_pkgversion
I.e. when %python3_pkgversion is 3.12, %__python3 is /usr/bin/python3.12

We assume that when packagers package for Python 3.X, they want to change both
%python3_pkgversion and %__python3 value.

Hence instead of copy-pasting this:

    %global python3_pkgversion 3.X
    %global __python3 /usr/bin/python3.X

They just need to do:

    %global python3_pkgversion 3.X

Packagers who want to change the value of %__python3 without touching
%python3_pkgversion can still do it:

    %global __python3 /usr/bin/pypy3

Related: rhbz#1950291
2021-12-14 21:35:59 +01:00
..
.gitignore RHEL 9.0.0 Alpha bootstrap 2020-10-14 20:10:31 -07:00
pythontest.spec RHEL 9.0.0 Alpha bootstrap 2020-10-14 20:10:31 -07:00
test_evals.py Set %__python3 value according to %python3_pkgversion 2021-12-14 21:35:59 +01:00
test_import_all_modules.py %py(3)_check_import: Process .pth files in site(arch|lib) 2021-12-14 21:32:50 +01:00
tests.yml CI eval tests: Drop the python3.6 dependency 2021-08-25 14:21:23 +02:00