2019-09-30 11:14:35 -04:00
Name : python3
Summary : Interpreter of the Python3 programming language
URL : https://www.python.org/
2021-12-23 16:38:07 +08:00
Version : 3.9.9
2024-07-10 11:11:27 +08:00
Release : 29
2022-07-05 13:47:38 +08:00
License : Python-2.0
2019-09-30 11:14:35 -04:00
2021-12-23 16:38:07 +08:00
%global branchversion 3.9
%global pyshortver 39
2019-09-30 11:14:35 -04:00
%ifarch %{ix86} x86_64
2022-02-10 18:44:41 +08:00
%bcond_with optimizations
2019-09-30 11:14:35 -04:00
%else
%bcond_with optimizations
%endif
%global pylibdir %{_libdir} /python%{branchversion}
%global dynload_dir %{pylibdir} /lib-dynload
2020-06-08 20:16:12 +08:00
%global LDVERSION_optimized %{branchversion}
%global LDVERSION_debug %{branchversion} d
2019-09-30 11:14:35 -04:00
2020-06-08 20:16:12 +08:00
%global SOABI_optimized cpython-%{pyshortver} -%{_arch}-linux%{_gnu}
%global SOABI_debug cpython-%{pyshortver} d-%{_arch}-linux%{_gnu}
2019-09-30 11:14:35 -04:00
# See http://www.python.org/dev/peps/pep-3147/
%global bytecode_suffixes .cpython-%{pyshortver} *.pyc
%global py_INSTSONAME_optimized libpython%{LDVERSION_optimized} .so.1.0
%global py_INSTSONAME_debug libpython%{LDVERSION_debug} .so.1.0
%undefine py_auto_byte_compile
%global wordsize 64
BuildRequires : autoconf
BuildRequires : bluez-libs-devel
BuildRequires : bzip2
BuildRequires : bzip2-devel
BuildRequires : desktop-file-utils
BuildRequires : expat-devel
BuildRequires : findutils
BuildRequires : gcc-c++
BuildRequires : gcc
BuildRequires : gdbm-devel
BuildRequires : glibc-all-langpacks
BuildRequires : glibc-devel
BuildRequires : gmp-devel
BuildRequires : libappstream-glib
BuildRequires : libffi-devel
BuildRequires : libnsl2-devel
BuildRequires : libtirpc-devel
BuildRequires : libGL-devel
BuildRequires : libuuid-devel
BuildRequires : libX11-devel
BuildRequires : ncurses-devel
BuildRequires : openssl-devel
BuildRequires : pkgconfig
BuildRequires : readline-devel
2019-12-13 16:01:49 +08:00
BuildRequires : system-rpm-config
2019-09-30 11:14:35 -04:00
BuildRequires : sqlite-devel
BuildRequires : tar
BuildRequires : tcl-devel
BuildRequires : tix-devel
BuildRequires : tk-devel
2020-08-19 10:51:13 +08:00
%ifarch %{valgrind_arches}
2022-11-19 03:13:42 +00:00
%ifnarch loongarch64
2019-09-30 11:14:35 -04:00
BuildRequires : valgrind-devel
2020-08-19 10:51:13 +08:00
%endif
2022-11-19 03:13:42 +00:00
%endif
2019-09-30 11:14:35 -04:00
BuildRequires : xz-devel
BuildRequires : zlib-devel
BuildRequires : systemtap-sdt-devel
BuildRequires : net-tools
BuildRequires : python-setuptools-wheel
BuildRequires : python-pip-wheel
Source : https://www.python.org/ftp/python/%{version} /Python-%{version} .tar.xz
Source1 : pyconfig.h
Patch1 : 00001-rpath.patch
Patch111 : 00111-no-static-lib.patch
Patch251 : 00251-change-user-install-location.patch
2021-12-23 16:38:07 +08:00
Patch6000 : backport-Add--with-wheel-pkg-dir-configure-option.patch
2022-03-04 11:45:59 +08:00
Patch6001 : backport-bpo-46811-Make-test-suite-support-Expat-2.4.5.patch
2022-03-15 19:33:29 +08:00
Patch6002 : backport-bpo-20369-concurrent.futures.wait-now-deduplicates-f.patch
2022-06-30 13:27:52 +08:00
Patch6003 : Make-mailcap-refuse-to-match-unsafe-filenam.patch
2022-08-25 11:30:53 +08:00
Patch6004 : backport-CVE-2021-28861.patch
2022-09-08 11:49:09 +08:00
Patch6005 : backport-CVE-2020-10735.patch
2022-09-22 16:46:56 +08:00
Patch6006 : backport-bpo-35823-subprocess-Use-vfork-instead-of-fork-on-Li.patch
Patch6007 : backport-bpo-35823-subprocess-Fix-handling-of-pthread_sigmask.patch
Patch6008 : backport-bpo-35823-Allow-setsid-after-vfork-on-Linux.-GH-2294.patch
Patch6009 : backport-bpo-42146-Unify-cleanup-in-subprocess_fork_exec-GH-2.patch
2022-11-09 18:44:19 +08:00
Patch6010 : backport-CVE-2022-42919.patch
2022-11-12 15:41:29 +08:00
Patch6011 : backport-CVE-2022-45061.patch
2022-11-28 17:02:31 +08:00
Patch6012 : backport-CVE-2022-37454.patch
2023-04-06 13:05:44 +08:00
Patch6013 : backport-Make-urllib.parse.urlparse-enforce-that-a-scheme-mus.patch
2023-09-22 07:46:00 +00:00
Patch6014 : backport-CVE-2023-24329.patch
Patch6015 : backport-CVE-2007-4559.patch
Patch6016 : backport-CVE-2023-40217.patch
Patch6017 : backport-3.9-gh-104049-do-not-expose-on-disk-location-from-Si.patch
Patch6018 : backport-3.9-gh-99889-Fix-directory-traversal-security-flaw-i.patch
2024-07-10 11:11:27 +08:00
Patch6019 : backport-3.9-gh-114572-Fix-locking-in-cert_store_stats-and-ge.patch
Patch6020 : backport-fix_xml_tree_assert_error.patch
Patch6021 : update-openssl-version-for-test-case.patch
2020-06-01 19:26:14 +08:00
2022-01-13 20:42:06 -05:00
Patch9000 : add-the-sm3-method-for-obtaining-the-salt-value.patch
2022-11-14 17:20:15 +08:00
Patch9001 : python3-Add-sw64-architecture.patch
2022-11-19 03:13:42 +00:00
Patch9002 : Add-loongarch-support.patch
2022-12-28 20:47:17 +08:00
Patch9003 : avoid-usage-of-md5-in-multiprocessing.patch
2022-01-13 20:42:06 -05:00
2019-09-30 11:14:35 -04:00
Provides : python%{branchversion} = %{version} -%{release}
Provides : python(abi) = %{branchversion}
Provides : python%{pyshortver} = %{version} -%{release}
Obsoletes : python%{pyshortver}
Requires : python-setuptools-wheel
Requires : python-pip-wheel
Provides : python3-libs
Obsoletes : python3-libs
2019-12-17 22:20:11 +08:00
Provides : python3-enum34 = 1.0.4-5
Obsoletes : python3-enum34 < 1.0.4-5
2019-09-30 11:14:35 -04:00
Recommends: python3-setuptools
Recommends: python3-pip
%global __requires_exclude ^/usr/bin/python3
%description
Python combines remarkable power with very clear syntax. It has modules,
classes, exceptions, very high level dynamic data types, and dynamic
typing. There are interfaces to many system calls and libraries, as well
as to various windowing systems. New built-in modules are easily written
in C or C++ (or other languages, depending on the chosen implementation).
Python is also usable as an extension language for applications written
in other languages that need easy-to-use scripting or automation interfaces.
This package Provides python version 3.
2020-06-02 20:57:34 +08:00
%package -n python3-unversioned-command
Summary : The " p y t h o n " command that runs Python 3
Requires : %{name} = %{version} -%{release}
Provides : python = %{version} -%{release}
Conflicts : python2
%description -n python3-unversioned-command
This package contains /usr/bin/python - the " p y t h o n " command that runs Python 3.
2019-09-30 11:14:35 -04:00
%package devel
Summary : Libraries and header files needed for Python development
Requires : %{name} = %{version} -%{release}
BuildRequires : python-rpm-macros
Requires : python-rpm-macros
Requires : python3-rpm-macros
Requires : python3-rpm-generators
Requires : python3-setuptools
Provides : %{name} -2to3 = %{version} -%{release}
Provides : 2to3 = %{version} -%{release}
Conflicts : %{name} < %{version} -%{release}
Provides : python3-idle
Obsoletes : python3-idle
Provides : python3-test
Obsoletes : python3-test
Provides : python3-tkinter
Obsoletes : python3-tkinter
Provides : %{name} -tools = %{version} -%{release}
Obsoletes : %{name} -tools < %{version} -%{release}
%description devel
This package contains the header files and configuration needed to develop
python3 modules.
%package debug
Summary : Debug version of the Python runtime
Requires : %{name} = %{version} -%{release}
Requires : %{name} -devel = %{version} -%{release}
%description debug
python3-debug provides a version of the Python runtime with numerous debugging
features enabled, aimed at advanced Python users such as developers of Python
extension modules.
%package _help
%prep
%setup -q -n Python-%{version}
find -name '*.exe' -print -delete
rm -r Modules/expat
%patch1 -p1
%patch111 -p1
%patch251 -p1
2021-05-31 21:28:52 +08:00
%patch6000 -p1
2022-03-04 11:45:59 +08:00
%patch6001 -p1
2022-03-15 19:33:29 +08:00
%patch6002 -p1
2022-06-30 13:27:52 +08:00
%patch6003 -p1
2022-08-25 11:30:53 +08:00
%patch6004 -p1
2022-09-08 11:49:09 +08:00
%patch6005 -p1
2022-09-22 16:46:56 +08:00
%patch6006 -p1
%patch6007 -p1
%patch6008 -p1
%patch6009 -p1
2022-11-09 18:44:19 +08:00
%patch6010 -p1
2022-11-12 15:41:29 +08:00
%patch6011 -p1
2022-11-28 17:02:31 +08:00
%patch6012 -p1
2023-04-06 13:05:44 +08:00
%patch6013 -p1
2023-08-07 14:46:53 +08:00
%patch6014 -p1
2023-09-19 10:29:24 +08:00
%patch6015 -p1
2023-09-22 07:46:00 +00:00
%patch6016 -p1
%patch6017 -p1
%patch6018 -p1
2024-07-10 11:11:27 +08:00
%patch6019 -p1
%patch6020 -p1
%patch6021 -p1
2020-03-17 20:29:56 +08:00
2022-01-13 20:42:06 -05:00
%patch9000 -p1
2022-11-14 17:20:15 +08:00
%patch9001 -p1
2022-11-19 03:13:42 +00:00
%patch9002 -p1
2022-12-28 20:47:17 +08:00
%patch9003 -p1
2022-01-13 20:42:06 -05:00
2021-12-23 16:38:07 +08:00
rm Lib/ensurepip/_bundled/*.whl
2019-09-30 11:14:35 -04:00
rm configure pyconfig.h.in
%build
autoconf
autoheader
topdir=$(pwd)
%if %{with optimizations}
%global optimizations_flag " - - e n a b l e - o p t i m i z a t i o n s "
%else
%global optimizations_flag " - - d i s a b l e - o p t i m i z a t i o n s "
%endif
%global extension_cflags " "
%global extension_ldflags " "
2022-06-20 16:31:33 +08:00
export CFLAGS=" %{extension_cflags} - D _ G N U _ S O U R C E - f P I C - f w r a p v - f s t a c k - p r o t e c t o r - s t r o n g - D _ F O R T I F Y _ S O U R C E = 2 - O 2 "
2019-09-30 11:14:35 -04:00
export CFLAGS_NODIST=" %{build_cflags} - D _ G N U _ S O U R C E - f P I C - f w r a p v "
export CXXFLAGS=" %{extension_cxxflags} - D _ G N U _ S O U R C E - f P I C - f w r a p v "
export CPPFLAGS=" $ ( p k g - c o n f i g - - c f l a g s - o n l y - I l i b f f i ) "
export OPT=" %{extension_cflags} - D _ G N U _ S O U R C E - f P I C - f w r a p v "
export LINKCC=" g c c "
export CFLAGS=" $ C F L A G S $ ( p k g - c o n f i g - - c f l a g s o p e n s s l ) "
export LDFLAGS=" %{extension_ldflags} - g $ ( p k g - c o n f i g - - l i b s - o n l y - L o p e n s s l ) "
export LDFLAGS_NODIST=" %{build_ldflags} - g $ ( p k g - c o n f i g - - l i b s - o n l y - L o p e n s s l ) "
2022-12-02 11:18:34 +08:00
%ifarch %{arm} aarch64
export CFLAGS=" $ C F L A G S - f u n s i g n e d - c h a r "
2023-08-07 14:46:53 +08:00
%endif
2022-12-02 11:18:34 +08:00
2019-09-30 11:14:35 -04:00
DebugBuildDir=build/debug
mkdir -p ${DebugBuildDir}
pushd ${DebugBuildDir}
%global _configure $topdir/configure
%configure \
2021-12-23 16:38:07 +08:00
--with-platlibdir=%{_lib} \
--with-wheel-pkg-dir=%{_datadir} /python-wheels \
2019-09-30 11:14:35 -04:00
--enable-ipv6 \
--enable-shared \
--with-computed-gotos=yes \
--with-dbmliborder=gdbm:ndbm:bdb \
--with-system-expat \
--with-system-ffi \
--enable-loadable-sqlite-extensions \
--with-dtrace \
--with-ssl-default-suites=openssl \
2020-08-19 10:51:13 +08:00
%ifarch %{valgrind_arches}
2022-11-19 03:13:42 +00:00
%ifnarch loongarch64
2019-09-30 11:14:35 -04:00
--with-valgrind \
2022-11-19 03:13:42 +00:00
%endif
2020-08-19 10:51:13 +08:00
%endif
2019-09-30 11:14:35 -04:00
--without-ensurepip \
--with-pydebug
%make_build EXTRA_CFLAGS=" $ C F L A G S - O g "
popd
OptimizedBuildDir=build/optimized
mkdir -p ${OptimizedBuildDir}
pushd ${OptimizedBuildDir}
%global _configure $topdir/configure
%configure \
2021-12-23 16:38:07 +08:00
--with-platlibdir=%{_lib} \
--with-wheel-pkg-dir=%{_datadir} /python-wheels \
2019-09-30 11:14:35 -04:00
--enable-ipv6 \
--enable-shared \
--with-computed-gotos=yes \
--with-dbmliborder=gdbm:ndbm:bdb \
--with-system-expat \
--with-system-ffi \
--enable-loadable-sqlite-extensions \
--with-dtrace \
--with-ssl-default-suites=openssl \
2020-08-19 10:51:13 +08:00
%ifarch %{valgrind_arches}
2022-11-19 03:13:42 +00:00
%ifnarch loongarch64
2019-09-30 11:14:35 -04:00
--with-valgrind \
2022-11-19 03:13:42 +00:00
%endif
2020-08-19 10:51:13 +08:00
%endif
2019-09-30 11:14:35 -04:00
--without-ensurepip \
%{optimizations_flag}
%make_build EXTRA_CFLAGS=" $ C F L A G S "
popd
%install
topdir=$(pwd)
DirHoldingGdbPy=%{_prefix} /lib/debug/%{_libdir}
mkdir -p %{buildroot} $DirHoldingGdbPy
%global _pyconfig32_h pyconfig-32.h
%global _pyconfig64_h pyconfig-64.h
%global _pyconfig_h pyconfig-%{wordsize} .h
DebugBuildDir=build/debug
mkdir -p ${DebugBuildDir}
pushd ${DebugBuildDir}
make DESTDIR=%{buildroot} INSTALL=" i n s t a l l - p " EXTRA_CFLAGS=" - O 0 " install
popd
PathOfGdbPy=$DirHoldingGdbPy/%{py_INSTSONAME_debug} -%{version} -%{release} .%{_arch}.debug-gdb.py
cp Tools/gdb/libpython.py %{buildroot} $PathOfGdbPy
mv %{buildroot} %{_bindir} /python%{LDVERSION_debug} -{,`uname -m`-}config
echo -e '#!/bin/sh\nexec `dirname $0`/python' %{LDVERSION_debug} '-`uname -m`-config "$@"' > \
%{buildroot} %{_bindir} /python%{LDVERSION_debug} -config
echo '[ $? -eq 127 ] && echo "Could not find python' %{LDVERSION_debug} '-`uname -m`-config. Look around to see available arches." >&2' >> \
%{buildroot} %{_bindir} /python%{LDVERSION_debug} -config
chmod +x %{buildroot} %{_bindir} /python%{LDVERSION_debug} -config
mv %{buildroot} %{_includedir} /python%{LDVERSION_debug} /pyconfig.h \
%{buildroot} %{_includedir} /python%{LDVERSION_debug} /%{_pyconfig_h}
install -D -m 0644 %{SOURCE1} %{buildroot} %{_includedir} /python%{LDVERSION_debug} /pyconfig.h
OptimizedBuildDir=build/optimized
mkdir -p ${OptimizedBuildDir}
pushd ${OptimizedBuildDir}
make DESTDIR=%{buildroot} INSTALL=" i n s t a l l - p " EXTRA_CFLAGS=" " install
popd
PathOfGdbPy=$DirHoldingGdbPy/%{py_INSTSONAME_optimized} -%{version} -%{release} .%{_arch}.debug-gdb.py
cp Tools/gdb/libpython.py %{buildroot} $PathOfGdbPy
mv %{buildroot} %{_bindir} /python%{LDVERSION_optimized} -{,`uname -m`-}config
echo -e '#!/bin/sh\nexec `dirname $0`/python' %{LDVERSION_optimized} '-`uname -m`-config "$@"' > \
%{buildroot} %{_bindir} /python%{LDVERSION_optimized} -config
echo '[ $? -eq 127 ] && echo "Could not find python' %{LDVERSION_optimized} '-`uname -m`-config. Look around to see available arches." >&2' >> \
%{buildroot} %{_bindir} /python%{LDVERSION_optimized} -config
chmod +x %{buildroot} %{_bindir} /python%{LDVERSION_optimized} -config
mv %{buildroot} %{_includedir} /python%{LDVERSION_optimized} /pyconfig.h \
%{buildroot} %{_includedir} /python%{LDVERSION_optimized} /%{_pyconfig_h}
install -D -m 0644 %{SOURCE1} %{buildroot} %{_includedir} /python%{LDVERSION_optimized} /pyconfig.h
install -d -m 0755 %{buildroot} %{pylibdir} /site-packages/__pycache__
install -d -m 0755 %{buildroot} %{_prefix} /lib/python%{branchversion} /site-packages/__pycache__
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_48.png %{buildroot} %{_datadir} /icons/hicolor/48x48/apps/idle3.png
sed -i -e " s / ' p y c o n f i g . h ' / ' % { _ p y c o n f i g _ h } ' / " \
%{buildroot} %{pylibdir} /distutils/sysconfig.py \
%{buildroot} %{pylibdir} /sysconfig.py
cp -p Tools/scripts/pathfix.py %{buildroot} %{_bindir} /
for tool in pygettext msgfmt; do
cp -p Tools/i18n/${tool}.py %{buildroot} %{_bindir} /${tool}%{branchversion} .py
ln -s ${tool}%{branchversion} .py %{buildroot} %{_bindir} /${tool}3.py
done
LD_LIBRARY_PATH=./build/optimized ./build/optimized/python \
Tools/scripts/pathfix.py \
-i " %{_bindir} / p y t h o n %{branchversion} " -pn \
%{buildroot} \
%{buildroot} %{_bindir} /*%{branchversion} .py \
%{?with_gdb_hooks:%{buildroot} $DirHoldingGdbPy/*.py}
rm -rf %{buildroot} %{pylibdir} /test/test_tools
find %{buildroot} -name \*.py \
\( \( \! -perm /u+x,g+x,o+x -exec sed -e '/^#!/Q 0' -e 'Q 1' {} \; \
-print -exec sed -i '1d' {} \; \) -o \( \
-perm /u+x,g+x,o+x ! -exec grep -m 1 -q '^#!' {} \; \
-exec chmod a-x {} \; \) \)
find %{buildroot} -name \*.bat -exec rm {} \;
find %{buildroot} / -name " * ~ " -exec rm -f {} \;
find . -name " * ~ " -exec rm -f {} \;
rm %{buildroot} %{pylibdir} /LICENSE.txt
find %{buildroot} -type f -a -name " * . p y " -print0 | \
LD_LIBRARY_PATH=" %{buildroot} %{dynload_dir} / : %{buildroot} %{_libdir} " \
PYTHONPATH=" %{buildroot} %{_libdir} / p y t h o n %{branchversion} %{buildroot} %{_libdir} / p y t h o n %{branchversion} / s i t e - p a c k a g e s " \
xargs -0 %{buildroot} %{_bindir} /python%{branchversion} -O -c 'import py_compile, sys; [py_compile.compile(f, dfile=f.partition("%{buildroot}")[2], optimize=opt) for opt in range(3) for f in sys.argv[1:]]' || :
rm -rf %{buildroot} %{_bindir} /__pycache__
find %{buildroot} -perm 555 -exec chmod 755 {} \;
ln -s \
%{_bindir} /python%{LDVERSION_debug} \
%{buildroot} %{_bindir} /python3-debug
2020-06-02 20:57:34 +08:00
ln -s %{_bindir} /python3 %{buildroot} %{_bindir} /python
2019-09-30 11:14:35 -04:00
mv %{buildroot} %{_bindir} /2to3-%{branchversion} %{buildroot} %{_bindir} /2to3
2020-06-08 20:16:12 +08:00
2019-09-30 11:14:35 -04:00
%check
topdir=$(pwd)
2019-12-26 09:47:22 +08:00
BEP_WHITELIST_TMP=" $ B E P _ W H I T E L I S T "
BEP_GTDLIST_TMP=" $ B E P _ G T D L I S T "
export BEP_WHITELIST=" p y t h o n p y t h o n - d e b u g " $BEP_WHITELIST" "
export BEP_GTDLIST=`echo $BEP_GTDLIST | sed 's/ python / /g' `
2019-09-30 11:14:35 -04:00
export OPENSSL_CONF=/non-existing-file
LD_LIBRARY_PATH=$(pwd)/build/debug $(pwd)/build/debug/python -m test.pythoninfo
WITHIN_PYTHON_RPM_BUILD= \
LD_LIBRARY_PATH=$(pwd)/build/debug $(pwd)/build/debug/python -m test.regrtest \
2022-08-03 15:58:54 +08:00
-wW --slowest -j0 --timeout 1800 \
2019-09-30 11:14:35 -04:00
-x test_distutils \
-x test_bdist_rpm \
-x test_gdb \
-x test_socket \
-x test_asyncio
export OPENSSL_CONF=/non-existing-file
LD_LIBRARY_PATH=$(pwd)/build/optimized $(pwd)/build/optimized/python -m test.pythoninfo
WITHIN_PYTHON_RPM_BUILD= \
LD_LIBRARY_PATH=$(pwd)/build/optimized $(pwd)/build/optimized/python -m test.regrtest \
2022-08-03 15:58:54 +08:00
-wW --slowest -j0 --timeout 1800 \
2019-09-30 11:14:35 -04:00
-x test_distutils \
-x test_bdist_rpm \
-x test_gdb \
-x test_socket \
-x test_asyncio
2019-12-26 09:47:22 +08:00
export BEP_WHITELIST=" $ B E P _ W H I T E L I S T _ T M P "
export BEP_GTDLIST=" $ B E P _ G T D L I S T _ T M P "
2021-12-23 16:38:07 +08:00
2019-09-30 11:14:35 -04:00
%files
%license LICENSE
%doc README.rst
2020-02-22 21:26:31 +08:00
2019-09-30 11:14:35 -04:00
%{_bindir} /pydoc*
%{_bindir} /python3
%{_bindir} /python%{branchversion}
%dir %{pylibdir}
%dir %{dynload_dir}
%{pylibdir} /lib2to3
%exclude %{pylibdir} /lib2to3/tests
%dir %{pylibdir} /unittest/
%dir %{pylibdir} /unittest/__pycache__/
%{pylibdir} /unittest/*.py
%{pylibdir} /unittest/__pycache__/*%{bytecode_suffixes}
%dir %{pylibdir} /asyncio/
%dir %{pylibdir} /asyncio/__pycache__/
%{pylibdir} /asyncio/*.py
%{pylibdir} /asyncio/__pycache__/*%{bytecode_suffixes}
%dir %{pylibdir} /venv/
%dir %{pylibdir} /venv/__pycache__/
%{pylibdir} /venv/*.py
%{pylibdir} /venv/__pycache__/*%{bytecode_suffixes}
%{pylibdir} /venv/scripts
%{pylibdir} /wsgiref
%{pylibdir} /xmlrpc
%dir %{pylibdir} /ensurepip/
%dir %{pylibdir} /ensurepip/__pycache__/
%{pylibdir} /ensurepip/*.py
%{pylibdir} /ensurepip/__pycache__/*%{bytecode_suffixes}
%exclude %{pylibdir} /ensurepip/_bundled
%dir %{pylibdir} /test/
%dir %{pylibdir} /test/__pycache__/
%dir %{pylibdir} /test/support/
%dir %{pylibdir} /test/support/__pycache__/
%{pylibdir} /test/__init__.py
%{pylibdir} /test/__pycache__/__init__%{bytecode_suffixes}
%{pylibdir} /test/support/*.py
%{pylibdir} /test/support/__pycache__/*%{bytecode_suffixes}
%dir %{pylibdir} /concurrent/
%dir %{pylibdir} /concurrent/__pycache__/
%{pylibdir} /concurrent/*.py
%{pylibdir} /concurrent/__pycache__/*%{bytecode_suffixes}
%dir %{pylibdir} /concurrent/futures/
%dir %{pylibdir} /concurrent/futures/__pycache__/
%{pylibdir} /concurrent/futures/*.py
%{pylibdir} /concurrent/futures/__pycache__/*%{bytecode_suffixes}
%{pylibdir} /pydoc_data
%{dynload_dir} /_blake2.%{SOABI_optimized} .so
%{dynload_dir} /_md5.%{SOABI_optimized} .so
%{dynload_dir} /_sha1.%{SOABI_optimized} .so
%{dynload_dir} /_sha256.%{SOABI_optimized} .so
%{dynload_dir} /_sha3.%{SOABI_optimized} .so
%{dynload_dir} /_sha512.%{SOABI_optimized} .so
%{dynload_dir} /_asyncio.%{SOABI_optimized} .so
%{dynload_dir} /_bisect.%{SOABI_optimized} .so
%{dynload_dir} /_bz2.%{SOABI_optimized} .so
%{dynload_dir} /_codecs_cn.%{SOABI_optimized} .so
%{dynload_dir} /_codecs_hk.%{SOABI_optimized} .so
%{dynload_dir} /_codecs_iso2022.%{SOABI_optimized} .so
%{dynload_dir} /_codecs_jp.%{SOABI_optimized} .so
%{dynload_dir} /_codecs_kr.%{SOABI_optimized} .so
%{dynload_dir} /_codecs_tw.%{SOABI_optimized} .so
%{dynload_dir} /_contextvars.%{SOABI_optimized} .so
%{dynload_dir} /_crypt.%{SOABI_optimized} .so
%{dynload_dir} /_csv.%{SOABI_optimized} .so
%{dynload_dir} /_ctypes.%{SOABI_optimized} .so
%{dynload_dir} /_curses.%{SOABI_optimized} .so
%{dynload_dir} /_curses_panel.%{SOABI_optimized} .so
%{dynload_dir} /_dbm.%{SOABI_optimized} .so
%{dynload_dir} /_decimal.%{SOABI_optimized} .so
%{dynload_dir} /_elementtree.%{SOABI_optimized} .so
%{dynload_dir} /_gdbm.%{SOABI_optimized} .so
%{dynload_dir} /_hashlib.%{SOABI_optimized} .so
%{dynload_dir} /_heapq.%{SOABI_optimized} .so
%{dynload_dir} /_json.%{SOABI_optimized} .so
%{dynload_dir} /_lsprof.%{SOABI_optimized} .so
%{dynload_dir} /_lzma.%{SOABI_optimized} .so
%{dynload_dir} /_multibytecodec.%{SOABI_optimized} .so
%{dynload_dir} /_multiprocessing.%{SOABI_optimized} .so
%{dynload_dir} /_opcode.%{SOABI_optimized} .so
%{dynload_dir} /_pickle.%{SOABI_optimized} .so
%{dynload_dir} /_posixsubprocess.%{SOABI_optimized} .so
%{dynload_dir} /_queue.%{SOABI_optimized} .so
%{dynload_dir} /_random.%{SOABI_optimized} .so
%{dynload_dir} /_socket.%{SOABI_optimized} .so
%{dynload_dir} /_sqlite3.%{SOABI_optimized} .so
%{dynload_dir} /_ssl.%{SOABI_optimized} .so
%{dynload_dir} /_struct.%{SOABI_optimized} .so
%{dynload_dir} /array.%{SOABI_optimized} .so
%{dynload_dir} /audioop.%{SOABI_optimized} .so
%{dynload_dir} /binascii.%{SOABI_optimized} .so
%{dynload_dir} /cmath.%{SOABI_optimized} .so
%{dynload_dir} /_datetime.%{SOABI_optimized} .so
%{dynload_dir} /fcntl.%{SOABI_optimized} .so
%{dynload_dir} /grp.%{SOABI_optimized} .so
%{dynload_dir} /math.%{SOABI_optimized} .so
%{dynload_dir} /mmap.%{SOABI_optimized} .so
%{dynload_dir} /nis.%{SOABI_optimized} .so
%{dynload_dir} /ossaudiodev.%{SOABI_optimized} .so
%{dynload_dir} /parser.%{SOABI_optimized} .so
2020-06-08 20:16:12 +08:00
%{dynload_dir} /_posixshmem.%{SOABI_optimized} .so
2019-09-30 11:14:35 -04:00
%{dynload_dir} /pyexpat.%{SOABI_optimized} .so
%{dynload_dir} /readline.%{SOABI_optimized} .so
%{dynload_dir} /resource.%{SOABI_optimized} .so
%{dynload_dir} /select.%{SOABI_optimized} .so
%{dynload_dir} /spwd.%{SOABI_optimized} .so
%{dynload_dir} /syslog.%{SOABI_optimized} .so
%{dynload_dir} /termios.%{SOABI_optimized} .so
%{dynload_dir} /_testmultiphase.%{SOABI_optimized} .so
%{dynload_dir} /unicodedata.%{SOABI_optimized} .so
%{dynload_dir} /_uuid.%{SOABI_optimized} .so
%{dynload_dir} /xxlimited.%{SOABI_optimized} .so
%{dynload_dir} /zlib.%{SOABI_optimized} .so
2020-06-08 20:16:12 +08:00
%{dynload_dir} /_statistics.%{SOABI_optimized} .so
%{dynload_dir} /_xxsubinterpreters.%{SOABI_optimized} .so
2021-12-23 16:38:07 +08:00
%{dynload_dir} /_zoneinfo.%{SOABI_optimized} .so
2019-09-30 11:14:35 -04:00
%dir %{pylibdir} /site-packages/
%dir %{pylibdir} /site-packages/__pycache__/
%{pylibdir} /site-packages/README.txt
%{pylibdir} /*.py
%dir %{pylibdir} /__pycache__/
%{pylibdir} /__pycache__/*%{bytecode_suffixes}
%dir %{pylibdir} /collections/
%dir %{pylibdir} /collections/__pycache__/
%{pylibdir} /collections/*.py
%{pylibdir} /collections/__pycache__/*%{bytecode_suffixes}
%dir %{pylibdir} /ctypes/
%dir %{pylibdir} /ctypes/__pycache__/
%{pylibdir} /ctypes/*.py
%{pylibdir} /ctypes/__pycache__/*%{bytecode_suffixes}
%{pylibdir} /ctypes/macholib
%{pylibdir} /curses
%dir %{pylibdir} /dbm/
%dir %{pylibdir} /dbm/__pycache__/
%{pylibdir} /dbm/*.py
%{pylibdir} /dbm/__pycache__/*%{bytecode_suffixes}
%dir %{pylibdir} /distutils/
%dir %{pylibdir} /distutils/__pycache__/
%{pylibdir} /distutils/*.py
%{pylibdir} /distutils/__pycache__/*%{bytecode_suffixes}
%{pylibdir} /distutils/README
%{pylibdir} /distutils/command
%dir %{pylibdir} /email/
%dir %{pylibdir} /email/__pycache__/
%{pylibdir} /email/*.py
%{pylibdir} /email/__pycache__/*%{bytecode_suffixes}
%{pylibdir} /email/mime
%doc %{pylibdir} /email/architecture.rst
%{pylibdir} /encodings
%{pylibdir} /html
%{pylibdir} /http
%dir %{pylibdir} /importlib/
%dir %{pylibdir} /importlib/__pycache__/
%{pylibdir} /importlib/*.py
%{pylibdir} /importlib/__pycache__/*%{bytecode_suffixes}
%dir %{pylibdir} /json/
%dir %{pylibdir} /json/__pycache__/
%{pylibdir} /json/*.py
%{pylibdir} /json/__pycache__/*%{bytecode_suffixes}
%{pylibdir} /logging
%{pylibdir} /multiprocessing
%dir %{pylibdir} /sqlite3/
%dir %{pylibdir} /sqlite3/__pycache__/
%{pylibdir} /sqlite3/*.py
%{pylibdir} /sqlite3/__pycache__/*%{bytecode_suffixes}
%exclude %{pylibdir} /turtle.py
%exclude %{pylibdir} /__pycache__/turtle*%{bytecode_suffixes}
%{pylibdir} /urllib
%{pylibdir} /xml
2021-12-23 16:38:07 +08:00
%{pylibdir} /zoneinfo
2019-09-30 11:14:35 -04:00
%attr (0755,root,root) %dir %{_prefix} /lib/python%{branchversion}
%attr (0755,root,root) %dir %{_prefix} /lib/python%{branchversion} /site-packages
%attr (0755,root,root) %dir %{_prefix} /lib/python%{branchversion} /site-packages/__pycache__/
%dir %{pylibdir} /config-%{LDVERSION_optimized} -%{_arch}-linux%{_gnu}/
%{pylibdir} /config-%{LDVERSION_optimized} -%{_arch}-linux%{_gnu}/Makefile
%dir %{_includedir} /python%{LDVERSION_optimized} /
%{_includedir} /python%{LDVERSION_optimized} /%{_pyconfig_h}
%{_libdir} /%{py_INSTSONAME_optimized}
%{_libdir} /libpython3.so
2020-06-02 20:57:34 +08:00
%files -n python3-unversioned-command
%{_bindir} /python
2019-09-30 11:14:35 -04:00
%files devel
%{_bindir} /2to3
%{pylibdir} /config-%{LDVERSION_optimized} -%{_arch}-linux%{_gnu}/*
%exclude %{pylibdir} /config-%{LDVERSION_optimized} -%{_arch}-linux%{_gnu}/Makefile
%exclude %{_includedir} /python%{LDVERSION_optimized} /%{_pyconfig_h}
%{_includedir} /python%{LDVERSION_optimized} /*.h
%{_includedir} /python%{LDVERSION_optimized} /internal/
2020-06-08 20:16:12 +08:00
%{_includedir} /python%{LDVERSION_optimized} /cpython/
2019-09-30 11:14:35 -04:00
%doc Misc/README.valgrind Misc/valgrind-python.supp Misc/gdbinit
%{_bindir} /python3-config
%{_libdir} /pkgconfig/python3.pc
2020-06-08 20:16:12 +08:00
%{_libdir} /pkgconfig/python3-embed.pc
2019-09-30 11:14:35 -04:00
%{_bindir} /pathfix.py
%{_bindir} /pygettext3.py
%{_bindir} /msgfmt3.py
%{_bindir} /pygettext%{branchversion} .py
%{_bindir} /msgfmt%{branchversion} .py
%{_bindir} /python%{LDVERSION_optimized} -config
%{_bindir} /python%{LDVERSION_optimized} -*-config
%{_libdir} /libpython%{LDVERSION_optimized} .so
%{_libdir} /pkgconfig/python-%{LDVERSION_optimized} .pc
2020-06-08 20:16:12 +08:00
%{_libdir} /pkgconfig/python-%{LDVERSION_optimized} -embed.pc
2019-09-30 11:14:35 -04:00
%{_bindir} /idle*
%{pylibdir} /idlelib
%{_datadir} /icons/hicolor/*/apps/idle3.*
%{pylibdir} /tkinter
%exclude %{pylibdir} /tkinter/test
%{dynload_dir} /_tkinter.%{SOABI_optimized} .so
%{pylibdir} /turtle.py
%{pylibdir} /__pycache__/turtle*%{bytecode_suffixes}
%dir %{pylibdir} /turtledemo
%{pylibdir} /turtledemo/*.py
%{pylibdir} /turtledemo/*.cfg
%dir %{pylibdir} /turtledemo/__pycache__/
%{pylibdir} /turtledemo/__pycache__/*%{bytecode_suffixes}
%{pylibdir} /ctypes/test
%{pylibdir} /distutils/tests
%{pylibdir} /sqlite3/test
%{pylibdir} /test
2020-06-08 20:16:12 +08:00
%exclude %{pylibdir} /test/capath
%exclude %{pylibdir} /test/*.pem
%exclude %{pylibdir} /test/*.crl
2019-09-30 11:14:35 -04:00
%{dynload_dir} /_ctypes_test.%{SOABI_optimized} .so
%{dynload_dir} /_testbuffer.%{SOABI_optimized} .so
%{dynload_dir} /_testcapi.%{SOABI_optimized} .so
2020-06-08 20:16:12 +08:00
%{dynload_dir} /_testinternalcapi.%{SOABI_optimized} .so
2019-09-30 11:14:35 -04:00
%{dynload_dir} /_testimportmultiple.%{SOABI_optimized} .so
%{dynload_dir} /_xxtestfuzz.%{SOABI_optimized} .so
%{pylibdir} /lib2to3/tests
%{pylibdir} /tkinter/test
%{pylibdir} /unittest/test
%exclude %dir %{pylibdir} /test/
%exclude %dir %{pylibdir} /test/__pycache__/
%exclude %{pylibdir} /test/__init__.py
%exclude %{pylibdir} /test/__pycache__/__init__%{bytecode_suffixes}
%exclude %{pylibdir} /test/support/
%files debug
%{_bindir} /python3-debug
%{_bindir} /python%{LDVERSION_debug}
%{dynload_dir} /_blake2.%{SOABI_debug} .so
%{dynload_dir} /_md5.%{SOABI_debug} .so
%{dynload_dir} /_sha1.%{SOABI_debug} .so
%{dynload_dir} /_sha256.%{SOABI_debug} .so
%{dynload_dir} /_sha3.%{SOABI_debug} .so
%{dynload_dir} /_sha512.%{SOABI_debug} .so
%{dynload_dir} /_asyncio.%{SOABI_debug} .so
%{dynload_dir} /_bisect.%{SOABI_debug} .so
%{dynload_dir} /_bz2.%{SOABI_debug} .so
%{dynload_dir} /_codecs_cn.%{SOABI_debug} .so
%{dynload_dir} /_codecs_hk.%{SOABI_debug} .so
%{dynload_dir} /_codecs_iso2022.%{SOABI_debug} .so
%{dynload_dir} /_codecs_jp.%{SOABI_debug} .so
%{dynload_dir} /_codecs_kr.%{SOABI_debug} .so
%{dynload_dir} /_codecs_tw.%{SOABI_debug} .so
%{dynload_dir} /_contextvars.%{SOABI_debug} .so
%{dynload_dir} /_crypt.%{SOABI_debug} .so
%{dynload_dir} /_csv.%{SOABI_debug} .so
%{dynload_dir} /_ctypes.%{SOABI_debug} .so
%{dynload_dir} /_curses.%{SOABI_debug} .so
%{dynload_dir} /_curses_panel.%{SOABI_debug} .so
%{dynload_dir} /_dbm.%{SOABI_debug} .so
%{dynload_dir} /_decimal.%{SOABI_debug} .so
%{dynload_dir} /_elementtree.%{SOABI_debug} .so
%{dynload_dir} /_gdbm.%{SOABI_debug} .so
%{dynload_dir} /_hashlib.%{SOABI_debug} .so
%{dynload_dir} /_heapq.%{SOABI_debug} .so
%{dynload_dir} /_json.%{SOABI_debug} .so
%{dynload_dir} /_lsprof.%{SOABI_debug} .so
%{dynload_dir} /_lzma.%{SOABI_debug} .so
%{dynload_dir} /_multibytecodec.%{SOABI_debug} .so
%{dynload_dir} /_multiprocessing.%{SOABI_debug} .so
%{dynload_dir} /_opcode.%{SOABI_debug} .so
%{dynload_dir} /_pickle.%{SOABI_debug} .so
%{dynload_dir} /_posixsubprocess.%{SOABI_debug} .so
%{dynload_dir} /_queue.%{SOABI_debug} .so
%{dynload_dir} /_random.%{SOABI_debug} .so
%{dynload_dir} /_socket.%{SOABI_debug} .so
%{dynload_dir} /_sqlite3.%{SOABI_debug} .so
%{dynload_dir} /_ssl.%{SOABI_debug} .so
%{dynload_dir} /_struct.%{SOABI_debug} .so
%{dynload_dir} /array.%{SOABI_debug} .so
%{dynload_dir} /audioop.%{SOABI_debug} .so
%{dynload_dir} /binascii.%{SOABI_debug} .so
%{dynload_dir} /cmath.%{SOABI_debug} .so
%{dynload_dir} /_datetime.%{SOABI_debug} .so
%{dynload_dir} /fcntl.%{SOABI_debug} .so
%{dynload_dir} /grp.%{SOABI_debug} .so
%{dynload_dir} /math.%{SOABI_debug} .so
%{dynload_dir} /mmap.%{SOABI_debug} .so
%{dynload_dir} /nis.%{SOABI_debug} .so
%{dynload_dir} /ossaudiodev.%{SOABI_debug} .so
%{dynload_dir} /parser.%{SOABI_debug} .so
%{dynload_dir} /pyexpat.%{SOABI_debug} .so
%{dynload_dir} /readline.%{SOABI_debug} .so
%{dynload_dir} /resource.%{SOABI_debug} .so
%{dynload_dir} /select.%{SOABI_debug} .so
%{dynload_dir} /spwd.%{SOABI_debug} .so
%{dynload_dir} /syslog.%{SOABI_debug} .so
%{dynload_dir} /termios.%{SOABI_debug} .so
%{dynload_dir} /_testmultiphase.%{SOABI_debug} .so
%{dynload_dir} /unicodedata.%{SOABI_debug} .so
%{dynload_dir} /_uuid.%{SOABI_debug} .so
%{dynload_dir} /_xxtestfuzz.%{SOABI_debug} .so
%{dynload_dir} /zlib.%{SOABI_debug} .so
2020-06-08 20:16:12 +08:00
%{dynload_dir} /_statistics.%{SOABI_debug} .so
%{dynload_dir} /_xxsubinterpreters.%{SOABI_debug} .so
%{dynload_dir} /_posixshmem.%{SOABI_debug} .so
2021-12-23 16:38:07 +08:00
%{dynload_dir} /_zoneinfo.%{SOABI_debug} .so
2019-09-30 11:14:35 -04:00
%{_libdir} /%{py_INSTSONAME_debug}
%{pylibdir} /config-%{LDVERSION_debug} -%{_arch}-linux%{_gnu}
%{_includedir} /python%{LDVERSION_debug}
%{_bindir} /python%{LDVERSION_debug} -config
%{_bindir} /python%{LDVERSION_debug} -*-config
%{_libdir} /libpython%{LDVERSION_debug} .so
%{_libdir} /libpython%{LDVERSION_debug} .so.1.0
%{_libdir} /pkgconfig/python-%{LDVERSION_debug} .pc
2020-06-08 20:16:12 +08:00
%{_libdir} /pkgconfig/python-%{LDVERSION_debug} -embed.pc
2019-09-30 11:14:35 -04:00
%{dynload_dir} /_tkinter.%{SOABI_debug} .so
%{dynload_dir} /_ctypes_test.%{SOABI_debug} .so
%{dynload_dir} /_testbuffer.%{SOABI_debug} .so
%{dynload_dir} /_testcapi.%{SOABI_debug} .so
%{dynload_dir} /_testimportmultiple.%{SOABI_debug} .so
2020-06-08 20:16:12 +08:00
%{dynload_dir} /_testinternalcapi.%{SOABI_debug} .so
2019-09-30 11:14:35 -04:00
%undefine _debuginfo_subpackages
%files help
%{_mandir} /*/*
%changelog
2024-07-10 11:11:27 +08:00
* Web Jul 10 2024 xinsheng <xinsheng3@huawei.com> - 3.9.9-29
- Type:bugfix
- CVE:NA
- SUG:NA
- DESC:backport upstream patches
- Fix locking in cert_store_stats and get_ca_certs
- Fix xml tree assert error
- Update openssl version for test case
2023-10-25 03:00:17 +00:00
* Wed Oct 25 zhuofeng <zhuofeng2@huawei.com> - 3.9.9-28
- Type:bugfix
- CVE:NA
- SUG:NA
- DESC:remove lto
2023-09-22 07:46:00 +00:00
* Fri Sep 22 renhongxun <renhongxun@h-partners.com> - 3.9.9-27
- Type:bugfix
- CVE:NA
- SUG:NA
- DESC:backport upstream patches
2023-09-19 10:29:24 +08:00
* Tue Sep 19 zhuofeng <zhuofeng2@huawei.com> - 3.9.9-26
- Type:CVE
- CVE:CVE-2023-40217
- SUG:NA
- DESC:fix CVE-2023-40217
2023-08-07 14:46:53 +08:00
* Mon Aug 07 2023 zhaoyu <zhaoyu64@huawei.com>- 3.9.9-25
- Type:CVE
- CVE:CVE-2007-4559
- SUG:NA
- DESC:Add a filter parameter to tarfile.extractall will allow users to avoid CVE-2007-4559 by changing their code/settings.
2023-04-06 13:05:44 +08:00
* Thu Apr 06 2023 shixuantong <shixuantong1@huawei.com>- 3.9.9-24
- Type:CVE
- CVE:CVE-2023-24329
- SUG:NA
- DESC:fix CVE-2023-24329
2023-03-13 21:59:13 +08:00
* Mon Mar 13 2023 Chenxi Mao <chenxi.mao@suse.com> - 3.9.9-23
- Type:enhancement
- CVE:NA
- SUG:NA
- DESC: Enable link time optimizaitons (LTO) for better performance.
2022-12-28 20:47:17 +08:00
* Fri Dec 23 yaoguangzhong <yaoguangzhong@xfusion.com> - 3.9.9-22
- Type:bugfix
- CVE:NA
- SUG:NA
- DESC: avoid usage of md5 in multiprocessing
2022-12-02 11:18:34 +08:00
* Fri Dec 02 zhuofeng <zhuofeng2@huawei.com> - 3.9.9-21
- Type:bugfix
- CVE:NA
- SUG:NA
- DESC:add compile option -funsigned-char
2022-11-19 03:13:42 +00:00
* Thu Nov 10 2022 huajingyun <huajingyun@loongson.cn> - 3.9.9-20
- Type:bugfix
- CVE:NA
- SUG:NA
- DESC: add loongarch64 support and disable valgrind-devel for loongarch64
2022-11-28 17:02:31 +08:00
* Mon Nov 28 zhuofeng <zhuofeng2@huawei.com> - 3.9.9-19
- Type:CVE
- CVE:CVE-2022-37454
- SUG:NA
- DESC:fix CVE-2022-37454
2022-11-14 17:20:15 +08:00
* Mon Nov 14 2022 wuzx<wuzx1226@qq.com> - 3.9.9-18
- Type:feature
- CVE:NA
- SUG:NA
- DESC:Add sw64 architecture
2022-11-12 15:41:29 +08:00
* Thu Nov 10 zhuofeng <zhuofeng2@huawei.com> - 3.9.9-17
- Type:CVE
- CVE:CVE-2022-45061
- SUG:NA
- DESC:fix CVE-2022-45061
2022-11-09 18:44:19 +08:00
* Wed Nov 09 zhuofeng <zhuofeng2@huawei.com> - 3.9.9-16
- Type:CVE
- CVE:CVE-2022-42919
- SUG:NA
- DESC:fix CVE-2022-42919
2022-09-22 16:46:56 +08:00
* Thu Sep 22 zhuofeng <zhuofeng2@huawei.com> - 3.9.9-15
- Type:bugfix
- CVE:NA
- SUG:NA
- DESC:sync patches
2022-09-08 11:49:09 +08:00
* Thu Sep 08 shixuantong <shixuantong@h-partners.com> - 3.9.9-14
- Type:CVE
- CVE:CVE-2020-10735
- SUG:NA
- DESC:fix CVE-2020-10735
2022-08-25 11:30:53 +08:00
* Thu Aug 25 2022 shixuantong <shixuantong@h-partners.com> - 3.9.9-13
- Type:CVE
- CVE:CVE-2021-28861
- SUG:NA
- DESC:fix CVE-2021-28861
2022-08-03 15:58:54 +08:00
* Wed Aug 03 2022 shixuantong <shixuantong@h-partners.com> - 3.9.9-12
- Type:bugfix
- CVE:NA
- SUG:NA
- DESC:add timeout when running the test case
2022-07-05 13:47:38 +08:00
* Tue Jul 5 2022 huangduirong <huangduriong@huawei.com> - 3.9.9-11
- Type:bugfix
- CVE:NA
- SUG:NA
- DESC:Modify the license of python3
2022-06-30 13:27:52 +08:00
* Thu Jun 30 2022 huangduirong <huangduriong@huawei.com> - 3.9.9-10
- Type:CVE
- CVE:CVE-2015-10107
- SUG:NA
- DESC:Modify the solution of CVE-2015-20107
2022-06-20 16:31:33 +08:00
* Mon Jun 20 2022 shixuantong <shixuantong@h-partners.com> - 3.9.9-9
- Type:bugfix
- CVE:NA
- SUG:NA
- DESC:add safe compilation option of FS
2022-05-16 10:31:11 +08:00
* Mon May 16 2022 shixuantong <shixuantong@h-partners.com> - 3.9.9-8
- Type:CVE
- CVE:CVE-2015-20107
- SUG:NA
- DESC:fix CVE-2015-20107
2022-03-15 19:33:29 +08:00
* Tue Mar 15 2022 BruceGW <gyl93216@163.com> - 3.9.9-7
- Type:bugfix
- CVE:NA
- SUG:NA
- DESC:concurrent.futures.wait() now deduplicates futures given as arg.
2022-03-09 11:48:44 +08:00
* Wed Mar 09 2022 shixuantong <shixuantong@h-partners.com> - 3.9.9-6
- Type:bugfix
- CVE:NA
- SUG:NA
- DESC:delete unnecessary patches
2022-03-04 11:45:59 +08:00
* Mon Mar 07 2022 shixuantong <shixuantong@h-partners.com> - 3.9.9-5
- Type:bugfix
- CVE:NA
- SUG:NA
- DESC:Make test suite support Expat >=2.4.5
2022-02-10 18:44:41 +08:00
* Thu Feb 10 2022 shixuantong <shixuantong@h-partners.com> - 3.9.9-4
- Type:bugfix
- CVE:NA
- SUG:NA
- DESC:disable profile guided optimizations for x86_64 and i686 architectures
2022-01-24 07:12:11 +00:00
* Mon Jan 24 2022 shixuantong<shixuantong@huawei.com> - 3.9.9-3
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:delete libpython3.8.so.1.0 file
2022-01-13 20:42:06 -05:00
* Fri Jan 14 2022 hanxinke<hanxinke@huawei.com> - 3.9.9-2
- Type:requirement
- ID:NA
- SUG:NA
- DESC:add the sm3 method for obtaining the salt value
2021-12-23 16:38:07 +08:00
* Thu Dec 23 2021 shixuantong<shixuantong@huawei.com> - 3.9.9-1
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:update version to 3.9.9
2021-09-27 16:38:39 +08:00
* Mon Sep 27 2021 shixuantong<shixuantong@huawei.com> - 3.8.5-13
- Type:CVE
- CVE:CVE-2021-3733 CVE-2021-3737
- SUG:NA
- DESC:fix CVE-2021-3733 CVE-2021-3737
2021-07-22 16:38:27 +08:00
* Thu Jul 22 2021 liudabo<liudabo1@huawei.com> - 3.8.5-12
- Type:bugfix
- ID:NA
- SUG:NA
2023-08-07 14:46:53 +08:00
- DESC:deleting gdb build dependency
2021-07-22 16:38:27 +08:00
2021-05-31 21:28:52 +08:00
* Mon May 31 2021 shixuantong<shixuantong@huawei.com> - 3.8.5-11
- Type:CVE
- CVE:CVE-2021-3426 CVE-2021-29921
- SUG:NA
- DESC:fix CVE-2021-3426 CVE-2021-29921
2021-05-23 21:16:54 +08:00
* Sun May 23 2021 shixuantong<shixuantong@huawei.com> - 3.8.5-10
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:Fix reference leak when Thread is never joined
2021-04-27 20:30:20 +08:00
* Tue Apr 27 2021 BruceGW<gyl93216@163.com> - 3.8.5-9
- Type:bugfix
- ID:NA
- SUG:NA
- DESC: fix memory leak in socketserver.ThreadingMixIn
2022-06-20 13:26:37 +08:00
* Tue Mar 30 2021 shenyangyang<shenyangyang4@huawei.com> - 3.8.5-8
2021-03-30 10:33:55 +08:00
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:Rebuild for openEuler-rpm-config moving /usr/lib/rpm/openEuler/xxxx
to /usr/lib/xxxx
2022-06-20 13:26:37 +08:00
* Wed Mar 03 2021 wuchaochao<wuchaochao4@huawei.com> - 3.8.5-7
2021-03-03 16:00:47 +08:00
- Type:cves
- ID:CVE-2021-23336
- SUG:NA
- DESC:fix CVE-2021-23336
2021-02-24 16:32:09 +08:00
* Wed Feb 24 2021 hehuazhen<hehuazhen@huawei.com> - 3.8.5-6
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:revert fix a reference leak if a thread is not joined
2021-02-07 10:25:54 +08:00
* Sun Feb 07 2021 shangyibin<shangyibin1@huawei.com> - 3.8.5-5
- Type:cves
- ID:CVE-2021-3177
- SUG:NA
- DESC:fix CVE-2021-3177
2021-02-01 16:00:54 +08:00
* Mon Feb 01 2021 shixuantong<shixuantong@huawei.com> - 3.8.5-4
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:Fix a reference leak if a thread is not joined
2020-11-14 18:40:38 +08:00
* Sat Nov 14 2020 shixuantong<shixuantong@huawei.com> - 3.8.5-3
- Type:cves
- ID:CVE-2020-27619
- SUG:NA
- DESC:fix CVE-2020-27619
2022-08-26 16:00:36 +08:00
* Wed Aug 19 2020 whoisxxx<zhangxuzhou4@huawei.com> - 3.8.5-2
2020-08-19 10:59:36 +08:00
- Type:bugfix
- ID:NA
- SUG:NA
- DESC: Judge arch before use valgrind
2020-08-01 14:09:14 +08:00
* Sat Aug 1 2020 wenzhanli<wenzhanli2@huawei.com> - 3.8.5-1
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:update version 3.8.5
2020-06-08 20:16:12 +08:00
* Fri Jun 5 2020 hanxinke<hanxinke@huawei.com> - 3.8.3-1
- Update to Python 3.8.3
2020-06-02 20:57:34 +08:00
* Tue Jun 2 2020 hanxinke<hanxinke@huawei.com> - 3.7.4-11
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:add python3-unversioned-command package
2020-06-01 19:26:14 +08:00
* Mon Jun 1 2020 hanxinke<hanxinke@huawei.com> - 3.7.4-10
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:add generic_os support to python3
2020-04-21 14:13:48 +08:00
* Tue Apr 21 2020 hanxinke<hanxinke@huawei.com> - 3.7.4-9
- Type:cves
- ID:CVE-2019-9674
- SUG:NA
- DESC:fix CVE-2019-9674
2020-03-17 20:29:56 +08:00
* Tue Mar 17 2020 hanxinke<hanxinke@huawei.com> - 3.7.4-8
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:patch the CVE
2020-02-22 21:26:31 +08:00
* Sat Feb 22 2020 openEuler Buildteam <buildteam@openeuler.org> - 3.7.4-7
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:revert last commit
2020-02-22 14:53:35 +08:00
* Sat Feb 22 2020 chengquan<chengquan3@huawei.com> - 3.7.4-6
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:Add the default version of python3
2019-12-31 18:55:47 +08:00
* Tue Dec 31 2019 hanxinke<hanxinke@huawei.com> - 3.7.4-5
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:update spec file
2020-06-08 20:16:12 +08:00
* Tue Dec 24 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.7.4-4
2019-12-26 09:47:22 +08:00
- fix CVE-2019-16056 CVE-2019-16935 CVE-2019-17514
- Delete the test keys, fix BEP problem
2019-12-17 22:20:11 +08:00
* Thu Dec 12 2019 lvying <lvying6@huawei.com> - 3.7.4-3
- provides python3-enum34
2019-12-13 16:01:49 +08:00
* Wed Nov 13 2019 hexiaowen <hexiaowen@huawei.com> - 3.7.4-2
- Add system-rpm-config buildrequires
2019-09-30 11:14:35 -04:00
* Tue Aug 27 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.7.4-1
- Package init