/[packages]/cauldron/python3/current/SPECS/python3.spec
ViewVC logotype

Diff of /cauldron/python3/current/SPECS/python3.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1863754 by wally, Thu Jun 9 15:31:44 2022 UTC revision 1876729 by wally, Wed Aug 10 11:44:55 2022 UTC
# Line 69  Line 69 
69  #   python-sphinx, python-pytest.  #   python-sphinx, python-pytest.
70    
71  # version  # version
72  %global version 3.10.5  %global version 3.10.6
73  %global docver %{version}  %global docver %{version}
74    
75  %global pybasever %(echo %{version} | cut -d. -f1,2)  %global pybasever %(echo %{version} | cut -d. -f1,2)
# Line 88  Line 88 
88  %global __requires_exclude_from %{?__requires_exclude_from:%__requires_exclude_from|}^%{_libdir}/python%{pybasever}/test/test_importlib/data  %global __requires_exclude_from %{?__requires_exclude_from:%__requires_exclude_from|}^%{_libdir}/python%{pybasever}/test/test_importlib/data
89    
90  # For bootstrapping python3.x to python3.y  # For bootstrapping python3.x to python3.y
91  %bcond_without bootstrap  %bcond_with bootstrap
92    
93  # 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
94  # Uses upstream bundled prebuilt wheels otherwise  # Uses upstream bundled prebuilt wheels otherwise
# Line 96  Line 96 
96  # If the rpmwheels condition is disabled, we use the bundled wheel packages  # If the rpmwheels condition is disabled, we use the bundled wheel packages
97  # from Python with the versions below.  # from Python with the versions below.
98  # This needs to be manually updated when we update Python.  # This needs to be manually updated when we update Python.
99  %global pip_version 22.0.4  %global pip_version 22.2.1
100  %global setuptools_version 58.1.0  %global setuptools_version 63.2.0
101    
102  # Expensive optimizations (mainly, profile-guided optimizations)  # Expensive optimizations (mainly, profile-guided optimizations)
103  %bcond_without optimizations  %bcond_without optimizations
# Line 278  Patch328: 00328-pyc-timestamp-invalidati Line 278  Patch328: 00328-pyc-timestamp-invalidati
278  # https://github.com/GrahamDumpleton/mod_wsgi/issues/730  # https://github.com/GrahamDumpleton/mod_wsgi/issues/730
279  Patch371: 00371-revert-bpo-1596321-fix-threading-_shutdown-for-the-main-thread-gh-28549-gh-28589.patch  Patch371: 00371-revert-bpo-1596321-fix-threading-_shutdown-for-the-main-thread-gh-28549-gh-28589.patch
280    
281    # 00382 # 9e275dcdf3934b827994ecc3247d583d5bab7985
282    # CVE-2015-20107
283    #
284    # Make mailcap refuse to match unsafe filenames/types/params (GH-91993)
285    #
286    # Upstream: https://github.com/python/cpython/issues/68966
287    #
288    # Tracker bug: https://bugzilla.redhat.com/show_bug.cgi?id=2075390
289    Patch382: 00382-cve-2015-20107.patch
290    
291  # (New patches go here ^^^)  # (New patches go here ^^^)
292  #  #
293  # Mageia patches  # Mageia patches
# Line 450  bzcat %{SOURCE1} | tar x  -C html Line 460  bzcat %{SOURCE1} | tar x  -C html
460  find . -type f -print0 | xargs -0 perl -p -i -e 's@/usr/local/bin/python@/usr/bin/python3@'  find . -type f -print0 | xargs -0 perl -p -i -e 's@/usr/local/bin/python@/usr/bin/python3@'
461    
462  %build  %build
463    
464    # The build process embeds version info extracted from the Git repository
465    # into the Py_GetBuildInfo and sys.version strings.
466    # Our Git repository is artificial, so we don't want that.
467    # Tell configure to not use git.
468    export HAS_GIT=not-found
469    
470  autoreconf -vfi  autoreconf -vfi
471    
472  # Get proper option names from bconds  # Get proper option names from bconds
# Line 488  export LDFLAGS_NODIST="%{build_ldflags} Line 505  export LDFLAGS_NODIST="%{build_ldflags}
505    --with-ssl-default-suites=openssl \    --with-ssl-default-suites=openssl \
506    --without-static-libpython \    --without-static-libpython \
507  %if %{with rpmwheels}  %if %{with rpmwheels}
508    --with-wheel-pkg-dir=%{_datadir}/python-wheels \    --with-wheel-pkg-dir=%{python_wheel_dir} \
509  %endif  %endif
510  %if %{with valgrind}  %if %{with valgrind}
511    --with-valgrind \    --with-valgrind \

Legend:
Removed from v.1863754  
changed lines
  Added in v.1876729

  ViewVC Help
Powered by ViewVC 1.1.30