Go to file
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
tests Set %__python3 value according to %python3_pkgversion 2021-12-08 15:35:51 +01:00
.gitignore Initial setup of the repo 2016-01-12 23:33:17 +00:00
brp-fix-pyc-reproducibility Non-existing path in py_reproducible_pyc_path causes build to fail 2021-10-12 15:50:50 +02:00
brp-python-bytecompile Remove unneeded arguments from the python_bytecompile function 2021-09-10 17:50:49 +02:00
brp-python-hardlink Include brp-python-hardlink in python-srpm-macros since it is no longer in RPM 4.17+ 2021-06-30 18:13:53 +02:00
compileall2.py Update of bundled compileall2 module to 0.7.1 (bugfix release) 2020-03-31 14:24:09 +02:00
import_all_modules.py %py(3)_check_import: Process .pth files in site(arch|lib) 2021-11-02 16:05:11 +01:00
macros.pybytecompile Use --hardlink-dupes for Python 3.4+ as well 2021-09-10 16:14:28 +02:00
macros.python %py(3)_check_import: Process .pth files in site(arch|lib) 2021-11-02 16:05:11 +01:00
macros.python-srpm Set %__python3 value according to %python3_pkgversion 2021-12-08 15:35:51 +01:00
macros.python3 %py(3)_check_import: Process .pth files in site(arch|lib) 2021-11-02 16:05:11 +01:00
python-rpm-macros.spec Set %__python3 value according to %python3_pkgversion 2021-12-08 15:35:51 +01:00
python.lua Update comment for python_altnames() to reflect the reality 2021-02-24 13:06:35 +01:00
sources Initial setup of the repo 2016-01-12 23:33:17 +00:00