python-rpm-macros/tests
Miro Hrončok a8b26546eb 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 pacakge 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 to https://bugzilla.redhat.com/1821489
2021-12-08 15:35:51 +01:00
..
.gitignore Fedora CI: Add eval tests for %python_provide and %py_provides 2020-05-05 13:54:28 +02:00
pythontest.spec Test bytecompilation & hardlinking with 3.8 and 2.7 2021-09-10 17:50:49 +02:00
test_evals.py Set %__python3 value according to %python3_pkgversion 2021-12-08 15:35:51 +01:00
test_import_all_modules.py %py(3)_check_import: Process .pth files in site(arch|lib) 2021-11-02 16:05:11 +01:00
tests.yml Add new options for %%py{3}_check_import: -f, -t, -e 2021-10-27 15:57:37 +02:00