ELBA-2022-2423
[3.9-52] - %py_provides: Do not generate Obsoletes for names containing parentheses - Related: rhbz#1990421 [3.9-51] - Add Obsoletes tags with the python39- prefix for smoother upgrade from RHEL8 - Related: rhbz#1990421 [3.9-50] - Explicitly opt-out from Python name-based provides and obsoletes generators [3.9-49] - Add lua helper functions to make it possible to automatically generate Obsoletes tags - Modify the %py_provides macro to also generate Obsoletes tags on CentOS/RHEL - Resolves: rhbz#1990421 [3.9-48] - Fix CI test configuration, so that pytest can import the package code [3.9-47] - Set %__python3 value according to %python3_pkgversion I.e. when %python3_pkgversion is 3.12, %__python3 is /usr/bin/python3.12 [3.9-46] - Fix multiline arguments processing for %py_check_import - Fix %py_shebang_flags handling within %py_check_import - Process .pth files in buildroots sitedirs in %py_check_import - Move import_all_modules.py from python-srpm-macros to python-rpm-macros [3.9-45] - Introduce -f (read from file) option to %py{3}_check_import - Introduce -t (filter top-level modules) option to %py{3}_check_import - Introduce -e (exclude module globs) option to %py{3}_check_import [3.9-44] - Set in %{python3_...} macros to allow selecting alternate sysconfig install scheme based on that variable [3.9-43] - Define a new macros %python_wheel_dir and %python_wheel_pkg_prefix - Related: rhbz#1982668 [3.9-42] - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags Related: rhbz#1991688 [3.9-41] - Introduce %py3_check_import [3.9-40] - %pytest: Set when %{__pytest_addopts} is defined [3.9-39] - Fix %python_provide when fed python3.10-foo to obsolete python-foo instead of python--foo [3.9-38] - Escape % symbols in macro files comments - Fixes: rhbz#1953910 [3.9-37] - Use sysconfig.get_path() to get %python3_sitelib and %python3_sitearch - Fixes: rhbz#1947468 [3.9-36.1] - Allow commas as argument separator for extras names in %python_extras_subpkg - Fixes: rhbz#1936486 [3.9-36] - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 [3.9-35] - Fix %python_extras_subpkg with underscores in extras names [3.9-34] - Remove python2-rpm-macros - https://fedoraproject.org/wiki/Changes/Disable_Python_2_Dist_RPM_Generators_and_Freeze_Python_2_Macros [3.9-13] - Automatically word-wrap the description of extras subpackages - Fixes: rhbz#1922442 [3.9-12] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild [3.9-11] - Support defining %py3_shebang_flags to %nil [3.9-10] - Add %python3_platform_triplet and %python3_ext_suffix - https://fedoraproject.org/wiki/Changes/Python_Upstream_Architecture_Names [3.9-9] - Adapt %py[3]_shebang_fix to use versioned pathfixX.Y.py [3.9-8] - Disable Python hash seed randomization in %py_byte_compile [3.9-7] - Make %py3_dist respect %python3_pkgversion [3.9-6] - Make the unversioned %__python macro error - https://fedoraproject.org/wiki/Changes/PythonMacroError - Make %python macros more consistent with %python3 macros - Define %python_platform (as a Python version agnostic option to %python3_platform) - Add --no-index --no-warn-script-location pip options to %pyX_install_wheel [3.9-5] - Introduce %python_extras_subpkg - Adapt %py_dist_name to keep square brackets - https://fedoraproject.org/wiki/Changes/PythonExtras [3.9-4] - Use compileall from stdlib for Python >= 3.9 [3.9-3] - Allow to combine %pycached with other macros (e.g. %exclude or %ghost) (#1838992) [3.9-2] - Require the exact same version-release of other subpackages of this package [3.9-1] - https://fedoraproject.org/wiki/Changes/Python3.9 - Switch the %py_dist_name macro to convert dots (.) into dashes as defined in PEP 503 (#1791530) [3.8-8] - Implement %pytest - Implement %pyX_shebang_fix - Strip tildes from %version in %pypi_source by default [3.8-7] - Change %__default_python3_pkgversion from 38 to 3.8 [3.8-6] - Require recent enough SRPM macros from RPM macros, to prevent missing Lua files [3.8-5] - Implement %py_provides [3.8-4] - Make %py3_install_wheel macro remove direct_url.json file created by PEP 610. - https://discuss.python.org/t/pep-610-usage-guidelines-for-linux-distributions/4012 [3.8-3] - Make pythonX-rpm-macros depend on python-rpm-macros (#1827811) [3.8-2] - Update of bundled compileall2 module to 0.7.1 (bugfix release) [3.8-1] - Hardcode the default Python 3 version in the SRPM macros (#1812087) - Provide python38-foo for python3-foo and the other way around (future RHEL compatibility) - %python_provide: Allow any names starting with python or pypy [3-54] - Update of bundled compileall2 module to 0.7.0 Adds the optional --hardlink-dupes flag for compileall2 for pyc deduplication
Evidence and freshness
Last supporting evidence check: 2026-11-28T09:03:36.680Z UTC
Upstream Advisory
Affected Packages
python-srpm-macros 3.9-52.el9
python-rpm-macros 3.9-52.el9
python3-rpm-macros 3.9-52.el9
python-rpm-macros 3.9-52.el9