Compare commits
4 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b8f7f2f8f1 | ||
|
|
c03d34a103 | ||
|
|
7b13c3ecf0 | ||
|
|
5d945b7395 |
2 changed files with 89 additions and 44 deletions
12
plan.fmf
12
plan.fmf
|
|
@ -1,6 +1,9 @@
|
||||||
execute:
|
execute:
|
||||||
how: tmt
|
how: tmt
|
||||||
|
|
||||||
|
environment:
|
||||||
|
pybasever: '3.6'
|
||||||
|
|
||||||
discover:
|
discover:
|
||||||
- name: tests_python
|
- name: tests_python
|
||||||
how: shell
|
how: shell
|
||||||
|
|
@ -8,10 +11,13 @@ discover:
|
||||||
tests:
|
tests:
|
||||||
- name: smoke
|
- name: smoke
|
||||||
path: /smoke
|
path: /smoke
|
||||||
test: "VERSION=3.6 TOX_REQUIRES='virtualenv<20.22.0' ./venv.sh"
|
test: "VERSION=${pybasever} TOX_REQUIRES='virtualenv<20.22.0' ./venv.sh"
|
||||||
|
- name: debugsmoke
|
||||||
|
path: /smoke
|
||||||
|
test: "PYTHON=python${pybasever}dm TOX=false VERSION=${pybasever} INSTALL_OR_SKIP=true ./venv.sh"
|
||||||
- name: marshalparser
|
- name: marshalparser
|
||||||
path: /marshalparser
|
path: /marshalparser
|
||||||
test: "VERSION=3.6 SAMPLE=10 ./test_marshalparser_compatibility.sh"
|
test: "VERSION=${pybasever} SAMPLE=10 ./test_marshalparser_compatibility.sh"
|
||||||
|
|
||||||
prepare:
|
prepare:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
|
|
@ -19,7 +25,7 @@ prepare:
|
||||||
package:
|
package:
|
||||||
- gcc
|
- gcc
|
||||||
- python3-tox
|
- python3-tox
|
||||||
- python3.6
|
- python${pybasever}
|
||||||
- glibc-all-langpacks # for locale tests
|
- glibc-all-langpacks # for locale tests
|
||||||
- marshalparser # for testing compatibility (magic numbers) with marshalparser
|
- marshalparser # for testing compatibility (magic numbers) with marshalparser
|
||||||
- dnf # for upgrade
|
- dnf # for upgrade
|
||||||
|
|
|
||||||
121
python3.6.spec
121
python3.6.spec
|
|
@ -17,7 +17,7 @@ URL: https://www.python.org/
|
||||||
#global prerel ...
|
#global prerel ...
|
||||||
%global upstream_version %{general_version}%{?prerel}
|
%global upstream_version %{general_version}%{?prerel}
|
||||||
Version: %{general_version}%{?prerel:~%{prerel}}
|
Version: %{general_version}%{?prerel:~%{prerel}}
|
||||||
Release: 49%{?dist}
|
Release: 50%{?dist}
|
||||||
# Python is Python
|
# Python is Python
|
||||||
# pip MIT is and bundles:
|
# pip MIT is and bundles:
|
||||||
# appdirs: MIT
|
# appdirs: MIT
|
||||||
|
|
@ -59,12 +59,22 @@ License: LicenseRef-Callaway-Python AND LicenseRef-Callaway-MIT AND Apache-2.0 A
|
||||||
# Note that the bcond macros are named for the CLI option they create.
|
# Note that the bcond macros are named for the CLI option they create.
|
||||||
# "%%bcond_without" means "ENABLE by default and create a --without option"
|
# "%%bcond_without" means "ENABLE by default and create a --without option"
|
||||||
|
|
||||||
|
# Main Python, i.e. whether this is the main Python version in the distribution
|
||||||
|
# that owns /usr/bin/python3 and other unique paths
|
||||||
|
# This also means the built subpackages are called python3 rather than python3X
|
||||||
|
# WARNING: This also influences the flatpackage bcond below.
|
||||||
|
# By default, this is disabled.
|
||||||
|
%bcond_with main_python
|
||||||
|
|
||||||
# Flat package, i.e. python36, python37, python38 for tox etc.
|
# Flat package, i.e. python36, python37, python38 for tox etc.
|
||||||
# warning: changes some other defaults
|
# Default (in Fedora >= 44): disabled
|
||||||
# in Fedora, never turn this on for the python3 package
|
# Default (in Fedora < 44): enabled when this is not the main Python
|
||||||
# and always keep it on for python36 etc.
|
# Not supported: Combination of flatpackage enabled and main_python enabled
|
||||||
# WARNING: This does not change the package name and summary above
|
%if %{with main_python} || 0%{?fedora} >= 44
|
||||||
|
%bcond_with flatpackage
|
||||||
|
%else
|
||||||
%bcond_without flatpackage
|
%bcond_without flatpackage
|
||||||
|
%endif
|
||||||
|
|
||||||
# Whether to use RPM build wheels from the python-{pip,setuptools}-wheel package
|
# Whether to use RPM build wheels from the python-{pip,setuptools}-wheel package
|
||||||
# Uses upstream bundled prebuilt wheels otherwise
|
# Uses upstream bundled prebuilt wheels otherwise
|
||||||
|
|
@ -302,6 +312,9 @@ BuildRequires: /usr/sbin/ifconfig
|
||||||
%if %{with rpmwheels}
|
%if %{with rpmwheels}
|
||||||
BuildRequires: python-setuptools-wheel
|
BuildRequires: python-setuptools-wheel
|
||||||
BuildRequires: python-pip-wheel
|
BuildRequires: python-pip-wheel
|
||||||
|
%else
|
||||||
|
# For %%python_wheel_inject_sbom
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -872,12 +885,16 @@ Patch467: 00467-tarfile-cve-2025-8194.patch
|
||||||
Provides: python%{pyshortver} = %{version}-%{release}
|
Provides: python%{pyshortver} = %{version}-%{release}
|
||||||
Obsoletes: python%{pyshortver} < %{version}-%{release}
|
Obsoletes: python%{pyshortver} < %{version}-%{release}
|
||||||
|
|
||||||
%if %{without flatpackage}
|
|
||||||
|
|
||||||
# Packages with Python modules in standard locations automatically
|
# Packages with Python modules in standard locations automatically
|
||||||
# depend on python(abi). Provide that here.
|
# depend on python(abi). Provide that here only for the main Python.
|
||||||
|
%if %{with main_python}
|
||||||
Provides: python(abi) = %{pybasever}
|
Provides: python(abi) = %{pybasever}
|
||||||
|
%else
|
||||||
|
%global __requires_exclude ^python\\(abi\\) = 3\\..+
|
||||||
|
%global __provides_exclude ^python\\(abi\\) = 3\\..+
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if %{without flatpackage}
|
||||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
# In order to support multiple Python interpreters for development purposes,
|
# In order to support multiple Python interpreters for development purposes,
|
||||||
|
|
@ -892,18 +909,16 @@ Provides: python%{pyshortver} = %{version}-%{release}
|
||||||
# replace python36-3.6.2.
|
# replace python36-3.6.2.
|
||||||
Obsoletes: python%{pyshortver}
|
Obsoletes: python%{pyshortver}
|
||||||
|
|
||||||
# Shall be removed in Fedora 31
|
# https://docs.fedoraproject.org/en-US/packaging-guidelines/#_one_to_many_replacement
|
||||||
# The release is bumped to 20, so we can do f27 platform-python updates
|
Obsoletes: %{name} < 3.6.15-50
|
||||||
# If the release in f27 ever goes >= 20, raise it here
|
|
||||||
# If platform-python is ever reintroduced, make it higher version than this:
|
|
||||||
%global platpyver 3.6.2-20
|
|
||||||
Obsoletes: platform-python < %{platpyver}
|
|
||||||
|
|
||||||
|
%if %{with main_python}
|
||||||
# Previously, this was required for our rewheel patch to work.
|
# Previously, this was required for our rewheel patch to work.
|
||||||
# This is technically no longer needed, but we keep it recommended
|
# This is technically no longer needed, but we keep it recommended
|
||||||
# for the developer experience.
|
# for the developer experience.
|
||||||
Recommends: python3-setuptools
|
Recommends: python3-setuptools
|
||||||
Recommends: python3-pip
|
Recommends: python3-pip
|
||||||
|
%endif
|
||||||
|
|
||||||
# This prevents ALL subpackages built from this spec to require
|
# This prevents ALL subpackages built from this spec to require
|
||||||
# /usr/bin/python3*. Granularity per subpackage is impossible.
|
# /usr/bin/python3*. Granularity per subpackage is impossible.
|
||||||
|
|
@ -986,9 +1001,8 @@ Provides: bundled(libmpdec) = %{libmpdec_version}
|
||||||
# See https://bugzilla.redhat.com/show_bug.cgi?id=1547131
|
# See https://bugzilla.redhat.com/show_bug.cgi?id=1547131
|
||||||
Recommends: %{name}%{?_isa} = %{version}-%{release}
|
Recommends: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
# Shall be removed in Fedora 31
|
# https://docs.fedoraproject.org/en-US/packaging-guidelines/#_one_to_many_replacement
|
||||||
Obsoletes: platform-python-libs < %{platpyver}
|
Obsoletes: %{name} < 3.6.15-50
|
||||||
Obsoletes: platform-python-libs-devel < %{platpyver}
|
|
||||||
|
|
||||||
%description libs
|
%description libs
|
||||||
This package contains runtime libraries for use by Python:
|
This package contains runtime libraries for use by Python:
|
||||||
|
|
@ -1002,17 +1016,21 @@ Summary: Libraries and header files needed for Python development
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-rpm-macros
|
# The RPM related dependencies bring nothing to a non-RPM Python developer
|
||||||
Requires: python3-rpm-macros
|
# But we want them when packages BuildRequire python3-devel
|
||||||
Requires: python3-rpm-generators
|
Requires: (python-rpm-macros if rpm-build)
|
||||||
|
Requires: (python3-rpm-macros if rpm-build)
|
||||||
|
Requires: (python3-rpm-generators if rpm-build)
|
||||||
|
|
||||||
Provides: %{name}-2to3 = %{version}-%{release}
|
Provides: %{name}-2to3 = %{version}-%{release}
|
||||||
|
%if %{with main_python}
|
||||||
Provides: 2to3 = %{version}-%{release}
|
Provides: 2to3 = %{version}-%{release}
|
||||||
|
%endif
|
||||||
|
|
||||||
Conflicts: %{name} < %{version}-%{release}
|
Conflicts: %{name} < %{version}-%{release}
|
||||||
|
|
||||||
# Shall be removed in Fedora 31
|
# https://docs.fedoraproject.org/en-US/packaging-guidelines/#_one_to_many_replacement
|
||||||
Obsoletes: platform-python-devel < %{platpyver}
|
Obsoletes: %{name} < 3.6.15-50
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
This package contains the header files and configuration needed to compile
|
This package contains the header files and configuration needed to compile
|
||||||
|
|
@ -1028,14 +1046,16 @@ Summary: A basic graphical development environment for Python
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Requires: %{name}-tkinter = %{version}-%{release}
|
Requires: %{name}-tkinter = %{version}-%{release}
|
||||||
|
|
||||||
|
%if %{with main_python}
|
||||||
Provides: idle3 = %{version}-%{release}
|
Provides: idle3 = %{version}-%{release}
|
||||||
|
%endif
|
||||||
|
|
||||||
Provides: %{name}-tools = %{version}-%{release}
|
Provides: %{name}-tools = %{version}-%{release}
|
||||||
Provides: %{name}-tools%{?_isa} = %{version}-%{release}
|
Provides: %{name}-tools%{?_isa} = %{version}-%{release}
|
||||||
Obsoletes: %{name}-tools < %{version}-%{release}
|
Obsoletes: %{name}-tools < %{version}-%{release}
|
||||||
|
|
||||||
# Shall be removed in Fedora 31
|
# https://docs.fedoraproject.org/en-US/packaging-guidelines/#_one_to_many_replacement
|
||||||
Obsoletes: platform-python-tools < %{platpyver}
|
Obsoletes: %{name} < 3.6.15-50
|
||||||
|
|
||||||
%description idle
|
%description idle
|
||||||
IDLE is Python’s Integrated Development and Learning Environment.
|
IDLE is Python’s Integrated Development and Learning Environment.
|
||||||
|
|
@ -1054,8 +1074,8 @@ configuration, browsers, and other dialogs.
|
||||||
Summary: A GUI toolkit for Python
|
Summary: A GUI toolkit for Python
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
# Shall be removed in Fedora 31
|
# https://docs.fedoraproject.org/en-US/packaging-guidelines/#_one_to_many_replacement
|
||||||
Obsoletes: platform-python-tkinter < %{platpyver}
|
Obsoletes: %{name} < 3.6.15-50
|
||||||
|
|
||||||
%description tkinter
|
%description tkinter
|
||||||
The Tkinter (Tk interface) library is a graphical user interface toolkit for
|
The Tkinter (Tk interface) library is a graphical user interface toolkit for
|
||||||
|
|
@ -1066,8 +1086,8 @@ the Python programming language.
|
||||||
Summary: The self-test suite for the main python3 package
|
Summary: The self-test suite for the main python3 package
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
# Shall be removed in Fedora 31
|
# https://docs.fedoraproject.org/en-US/packaging-guidelines/#_one_to_many_replacement
|
||||||
Obsoletes: platform-python-test < %{platpyver}
|
Obsoletes: %{name} < 3.6.15-50
|
||||||
|
|
||||||
%description test
|
%description test
|
||||||
The self-test suite for the Python interpreter.
|
The self-test suite for the Python interpreter.
|
||||||
|
|
@ -1112,11 +1132,6 @@ so extensions for both versions can co-exist in the same directory.
|
||||||
|
|
||||||
%else # with flatpackage
|
%else # with flatpackage
|
||||||
|
|
||||||
# We'll not provide this, on purpose
|
|
||||||
# No package in Fedora shall ever depend on flatpackage via this
|
|
||||||
%global __requires_exclude ^python\\(abi\\) = 3\\..$
|
|
||||||
%global __provides_exclude ^python\\(abi\\) = 3\\..$
|
|
||||||
|
|
||||||
%if %{with rpmwheels}
|
%if %{with rpmwheels}
|
||||||
Requires: python-setuptools-wheel
|
Requires: python-setuptools-wheel
|
||||||
Requires: python-pip-wheel
|
Requires: python-pip-wheel
|
||||||
|
|
@ -1467,7 +1482,7 @@ install -d -m 0755 %{buildroot}%{pylibdir}/site-packages/__pycache__
|
||||||
install -d -m 0755 %{buildroot}%{_prefix}/lib/python%{pybasever}/site-packages/__pycache__
|
install -d -m 0755 %{buildroot}%{_prefix}/lib/python%{pybasever}/site-packages/__pycache__
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{without flatpackage}
|
%if %{with main_python}
|
||||||
# add idle3 to menu
|
# add idle3 to menu
|
||||||
install -D -m 0644 Lib/idlelib/Icons/idle_16.png %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/idle3.png
|
install -D -m 0644 Lib/idlelib/Icons/idle_16.png %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/idle3.png
|
||||||
install -D -m 0644 Lib/idlelib/Icons/idle_32.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/idle3.png
|
install -D -m 0644 Lib/idlelib/Icons/idle_32.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/idle3.png
|
||||||
|
|
@ -1557,13 +1572,18 @@ find %{buildroot} -perm 555 -exec chmod 755 {} \;
|
||||||
# Create "/usr/bin/python3-debug", a symlink to the python3 debug binary, to
|
# Create "/usr/bin/python3-debug", a symlink to the python3 debug binary, to
|
||||||
# avoid the user having to know the precise version and ABI flags.
|
# avoid the user having to know the precise version and ABI flags.
|
||||||
# See e.g. https://bugzilla.redhat.com/show_bug.cgi?id=676748
|
# See e.g. https://bugzilla.redhat.com/show_bug.cgi?id=676748
|
||||||
%if %{with debug_build} && %{without flatpackage}
|
%if %{with debug_build} && %{with main_python}
|
||||||
ln -s \
|
ln -s \
|
||||||
%{_bindir}/python%{LDVERSION_debug} \
|
%{_bindir}/python%{LDVERSION_debug} \
|
||||||
%{buildroot}%{_bindir}/python3-debug
|
%{buildroot}%{_bindir}/python3-debug
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with flatpackage}
|
%if %{without rpmwheels}
|
||||||
|
# Inject SBOM into the installed wheels (if the macro is available)
|
||||||
|
%{?python_wheel_inject_sbom:%python_wheel_inject_sbom %{buildroot}%{pylibdir}/ensurepip/_bundled/*.whl}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if %{without main_python}
|
||||||
# Remove stuff that would conflict with python3 package
|
# Remove stuff that would conflict with python3 package
|
||||||
rm %{buildroot}%{_bindir}/python3
|
rm %{buildroot}%{_bindir}/python3
|
||||||
rm %{buildroot}%{_bindir}/pydoc3
|
rm %{buildroot}%{_bindir}/pydoc3
|
||||||
|
|
@ -1680,11 +1700,15 @@ CheckPython optimized
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
|
|
||||||
%if %{without flatpackage}
|
%if %{without flatpackage}
|
||||||
|
%if %{with main_python}
|
||||||
%{_bindir}/pydoc*
|
%{_bindir}/pydoc*
|
||||||
%{_bindir}/python3
|
%{_bindir}/python3
|
||||||
%{_bindir}/pyvenv
|
%{_bindir}/pyvenv
|
||||||
%{_mandir}/*/*
|
%{_mandir}/*/*
|
||||||
%{_bindir}/pyvenv
|
%else
|
||||||
|
%{_bindir}/pydoc%{pybasever}
|
||||||
|
%{_mandir}/*/python%{pybasever}*
|
||||||
|
%endif
|
||||||
%else
|
%else
|
||||||
%{_bindir}/pydoc%{pybasever}
|
%{_bindir}/pydoc%{pybasever}
|
||||||
%{_mandir}/*/python%{pybasever}*
|
%{_mandir}/*/python%{pybasever}*
|
||||||
|
|
@ -1829,6 +1853,10 @@ CheckPython optimized
|
||||||
%dir %{pylibdir}/site-packages/
|
%dir %{pylibdir}/site-packages/
|
||||||
%dir %{pylibdir}/site-packages/__pycache__/
|
%dir %{pylibdir}/site-packages/__pycache__/
|
||||||
%{pylibdir}/site-packages/README.txt
|
%{pylibdir}/site-packages/README.txt
|
||||||
|
|
||||||
|
%exclude %{pylibdir}/_sysconfigdata_%{ABIFLAGS_debug}_linux_%{platform_triplet}.py
|
||||||
|
%exclude %{pylibdir}/__pycache__/_sysconfigdata_%{ABIFLAGS_debug}_linux_%{platform_triplet}%{bytecode_suffixes}
|
||||||
|
|
||||||
%{pylibdir}/*.py
|
%{pylibdir}/*.py
|
||||||
%dir %{pylibdir}/__pycache__/
|
%dir %{pylibdir}/__pycache__/
|
||||||
%{pylibdir}/__pycache__/*%{bytecode_suffixes}
|
%{pylibdir}/__pycache__/*%{bytecode_suffixes}
|
||||||
|
|
@ -1912,27 +1940,29 @@ CheckPython optimized
|
||||||
%{_includedir}/python%{LDVERSION_optimized}/%{_pyconfig_h}
|
%{_includedir}/python%{LDVERSION_optimized}/%{_pyconfig_h}
|
||||||
|
|
||||||
%{_libdir}/%{py_INSTSONAME_optimized}
|
%{_libdir}/%{py_INSTSONAME_optimized}
|
||||||
%if %{without flatpackage}
|
%if %{with main_python}
|
||||||
%{_libdir}/libpython3.so
|
%{_libdir}/libpython3.so
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{without flatpackage}
|
%if %{without flatpackage}
|
||||||
%files devel
|
%files devel
|
||||||
|
%if %{with main_python}
|
||||||
%{_bindir}/2to3
|
%{_bindir}/2to3
|
||||||
# TODO: Remove 2to3-3.7 once rebased to 3.7
|
# TODO: Remove 2to3-3.7 once rebased to 3.7
|
||||||
%{_bindir}/2to3-%{pybasever}
|
%{_bindir}/2to3-%{pybasever}
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
%{pylibdir}/config-%{LDVERSION_optimized}-%{platform_triplet}/*
|
%{pylibdir}/config-%{LDVERSION_optimized}-%{platform_triplet}/*
|
||||||
%if %{without flatpackage}
|
%if %{without flatpackage}
|
||||||
%exclude %{pylibdir}/config-%{LDVERSION_optimized}-%{platform_triplet}/Makefile
|
%exclude %{pylibdir}/config-%{LDVERSION_optimized}-%{platform_triplet}/Makefile
|
||||||
%exclude %{_includedir}/python%{LDVERSION_optimized}/%{_pyconfig_h}
|
%exclude %{_includedir}/python%{LDVERSION_optimized}/%{_pyconfig_h}
|
||||||
%endif
|
%endif
|
||||||
%{pylibdir}/distutils/command/wininst-*.exe
|
%exclude %{pylibdir}/distutils/command/wininst-*.exe
|
||||||
%{_includedir}/python%{LDVERSION_optimized}/*.h
|
%{_includedir}/python%{LDVERSION_optimized}/*.h
|
||||||
%doc Misc/README.valgrind Misc/valgrind-python.supp Misc/gdbinit
|
%doc Misc/README.valgrind Misc/valgrind-python.supp Misc/gdbinit
|
||||||
|
|
||||||
%if %{without flatpackage}
|
%if %{with main_python}
|
||||||
%{_bindir}/python3-config
|
%{_bindir}/python3-config
|
||||||
%{_libdir}/pkgconfig/python3.pc
|
%{_libdir}/pkgconfig/python3.pc
|
||||||
%{_bindir}/pathfix.py
|
%{_bindir}/pathfix.py
|
||||||
|
|
@ -1960,7 +1990,7 @@ CheckPython optimized
|
||||||
|
|
||||||
%{pylibdir}/idlelib
|
%{pylibdir}/idlelib
|
||||||
|
|
||||||
%if %{without flatpackage}
|
%if %{with main_python}
|
||||||
%{_metainfodir}/idle3.appdata.xml
|
%{_metainfodir}/idle3.appdata.xml
|
||||||
%{_datadir}/applications/idle3.desktop
|
%{_datadir}/applications/idle3.desktop
|
||||||
%{_datadir}/icons/hicolor/*/apps/idle3.*
|
%{_datadir}/icons/hicolor/*/apps/idle3.*
|
||||||
|
|
@ -2008,8 +2038,10 @@ CheckPython optimized
|
||||||
%if %{with debug_build}
|
%if %{with debug_build}
|
||||||
%if %{without flatpackage}
|
%if %{without flatpackage}
|
||||||
%files debug
|
%files debug
|
||||||
|
%if %{with main_python}
|
||||||
%{_bindir}/python3-debug
|
%{_bindir}/python3-debug
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
# Analog of the core subpackage's files:
|
# Analog of the core subpackage's files:
|
||||||
%{_bindir}/python%{LDVERSION_debug}
|
%{_bindir}/python%{LDVERSION_debug}
|
||||||
|
|
@ -2082,6 +2114,9 @@ CheckPython optimized
|
||||||
%{dynload_dir}/unicodedata.%{SOABI_debug}.so
|
%{dynload_dir}/unicodedata.%{SOABI_debug}.so
|
||||||
%{dynload_dir}/zlib.%{SOABI_debug}.so
|
%{dynload_dir}/zlib.%{SOABI_debug}.so
|
||||||
|
|
||||||
|
%{pylibdir}/_sysconfigdata_%{ABIFLAGS_debug}_linux_%{platform_triplet}.py
|
||||||
|
%{pylibdir}/__pycache__/_sysconfigdata_%{ABIFLAGS_debug}_linux_%{platform_triplet}%{bytecode_suffixes}
|
||||||
|
|
||||||
# No need to split things out the "Makefile" and the config-32/64.h file as we
|
# No need to split things out the "Makefile" and the config-32/64.h file as we
|
||||||
# do for the regular build above (bug 531901), since they're all in one package
|
# do for the regular build above (bug 531901), since they're all in one package
|
||||||
# now; they're listed below, under "-devel":
|
# now; they're listed below, under "-devel":
|
||||||
|
|
@ -2133,6 +2168,10 @@ CheckPython optimized
|
||||||
# ======================================================
|
# ======================================================
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Nov 06 2025 Miro Hrončok <mhroncok@redhat.com> - 3.6.15-50
|
||||||
|
- On Fedora 44+, split this package into multiple subpackages
|
||||||
|
- This mimics newer Python versions
|
||||||
|
|
||||||
* Mon Aug 11 2025 Lumír Balhar <lbalhar@redhat.com> - 3.6.15-49
|
* Mon Aug 11 2025 Lumír Balhar <lbalhar@redhat.com> - 3.6.15-49
|
||||||
- Security fix for CVE-2025-8194
|
- Security fix for CVE-2025-8194
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue