#37 Update to 3.7.5
Merged 4 years ago by churchyard. Opened 4 years ago by churchyard.
rpms/ churchyard/python37 3.7.5  into  master

file modified
+18 -14
@@ -4,7 +4,7 @@ 

  

  

  # TESTS:

- addFilter(r'(zero-length|pem-certificate|uncompressed-zip) /usr/lib(64)?/python3.\d/test')

+ addFilter(r'(zero-length|pem-certificate|uncompressed-zip) /usr/lib(64)?/python3\.\d+/test')

  

  

  # OTHER DELIBERATES:
@@ -13,30 +13,30 @@ 

  

  # intentionally unversioned and selfobsoleted

  addFilter(r'unversioned-explicit-obsoletes python')

- addFilter(r'self-obsoletion python3\d obsoletes python3\d')

+ addFilter(r'self-obsoletion python3\d+ obsoletes python3\d+')

  

  # intentionally hardcoded

  addFilter(r'hardcoded-library-path in %{_prefix}/lib/(debug/%{_libdir}|python%{pybasever})')

  

  # intentional for our pythonXY package

- addFilter(r'python3\d\.[^:]+: (E|W): devel-file-in-non-devel-package')

+ addFilter(r'python3\d+\.[^:]+: (E|W): devel-file-in-non-devel-package')

  

  # we have non binary stuff, python files

  addFilter(r'only-non-binary-in-usr-lib')

  

  # some devel files that are deliberately needed

- addFilter(r'devel-file-in-non-devel-package /usr/include/python3\.\dm/pyconfig-(32|64)\.h')

- addFilter(r'devel-file-in-non-devel-package /usr/lib(64)?/python3\.\d/distutils/tests/xxmodule\.c')

+ addFilter(r'devel-file-in-non-devel-package /usr/include/python3\.\d+m?/pyconfig-(32|64)\.h')

+ addFilter(r'devel-file-in-non-devel-package /usr/lib(64)?/python3\.\d+/distutils/tests/xxmodule\.c')

  

  

  # SORRY, NOT SORRY:

  # manual pages

- addFilter(r'no-manual-page-for-binary (idle|pydoc|pyvenv|2to3|python3-debug|pathfix|msgfmt|pygettext)')

- addFilter(r'no-manual-page-for-binary python3.*-config$')

- addFilter(r'no-manual-page-for-binary python3.\dd?m$')

+ addFilter(r'no-manual-page-for-binary (idle|pydoc|pyvenv|2to3|python3?-debug|pathfix|msgfmt|pygettext)')

+ addFilter(r'no-manual-page-for-binary python3?.*-config$')

+ addFilter(r'no-manual-page-for-binary python3\.\d+d?m?$')

  

  # missing documentation from subpackages

- addFilter(r'^python3\d?-(debug|tkinter|test|idle)\.[^:]+: (E|W): no-documentation')

+ addFilter(r'^python3\d*-(debug|tkinter|test|idle)\.[^:]+: (E|W): no-documentation')

  

  # platform python is obsoleted, but not provided

  addFilter(r'obsolete-not-provided platform-python')
@@ -53,20 +53,24 @@ 

  addFilter(r'python-bytecode-inconsistent-mtime .* 1970')

  

  # debugsource

- addFilter(r'^python3\d?-debugsource\.[^:]+: (E|W): no-documentation')

+ addFilter(r'^python3\d*-debugsource\.[^:]+: (E|W): no-documentation')

  

  # debuginfo

- addFilter(r'^python3\d?-debuginfo\.[^:]+: (E|W): useless-provides debuginfo\(build-id\)')

+ addFilter(r'^python3\d*-debuginfo\.[^:]+: (E|W): useless-provides debuginfo\(build-id\)')

  

  # this is OK for F28+

  addFilter(r'library-without-ldconfig-post')

  

  # debug package contains devel and non-devel files

- addFilter(r'python3\d?-debug.[^:]+: (E|W): (non-)?devel-file-in-(non-)?devel-package')

+ addFilter(r'python3\d*-debug\.[^:]+: (E|W): (non-)?devel-file-in-(non-)?devel-package')

  

  # this goes to other subpackage, hence not actually dangling, the read error is bogus

- addFilter(r'dangling-relative-symlink /usr/lib(64)?/pkgconfig/python-3\.\ddm\.pc python-3\.\d\.pc')

- addFilter(r'read-error /usr/lib(64)?/pkgconfig/python-3\.\ddm\.pc \[Errno 2\]')

+ addFilter(r'dangling-relative-symlink /usr/lib(64)?/pkgconfig/python-3\.\d+dm?(-embed)?\.pc python-3\.\d+(-embed)?\.pc')

+ addFilter(r'read-error /usr/lib(64)?/pkgconfig/python-3\.\d+dm?(-embed)?\.pc \[Errno 2\]')

+ 

+ # the python-unversioned-command package contains dangling symlinks by design

+ addFilter(r'^python-unversioned-command\.[^:]+: (E|W): dangling-relative-symlink '

+           r'(/usr/bin/python \./python3|/usr/share/man/man1/python\.1\S* ./python3\.1\S*)$')

  

  # we need this macro to evaluate, even if the line starts with #

  addFilter(r'macro-in-comment %\{_pyconfig(32|64)_h\}')

file modified
+9 -4
@@ -14,7 +14,7 @@ 

  #  WARNING  When rebasing to a new Python version,

  #           remember to update the python3-docs package as well

  %global general_version %{pybasever}.5

- %global prerel rc1

+ #global prerel ...

  %global upstream_version %{general_version}%{?prerel}

  Version: %{general_version}%{?prerel:~%{prerel}}

  Release: 1%{?dist}
@@ -55,7 +55,7 @@ 

  # Extra build for debugging the interpreter or C-API extensions

  # (the -debug subpackages)

  %if %{with flatpackage}

- %bcond_with debug_build

+ %bcond_without debug_build

  %else

  %bcond_without debug_build

  %endif
@@ -719,8 +719,10 @@ 

    $ExtraConfigArgs \

    %{nil}

  

+ %global flags_override EXTRA_CFLAGS="$MoreCFlags" CFLAGS_NODIST="$CFLAGS_NODIST $MoreCFlags"

+ 

    # Invoke the build

-   make EXTRA_CFLAGS="$CFLAGS $MoreCFlags" %{?_smp_mflags}

+   %make_build %{flags_override}

  

    popd

    echo FINISHED: BUILD OF PYTHON FOR CONFIGURATION: $ConfName
@@ -767,7 +769,7 @@ 

  # information

  

  %if %{with gdb_hooks}

- DirHoldingGdbPy=%{_prefix}/lib/debug/%{_libdir}

+ DirHoldingGdbPy=%{_usr}/lib/debug/%{_libdir}

  mkdir -p %{buildroot}$DirHoldingGdbPy

  %endif # with gdb_hooks

  
@@ -1539,6 +1541,9 @@ 

  # ======================================================

  

  %changelog

+ * Tue Oct 15 2019 Miro Hrončok <mhroncok@redhat.com> - 3.7.5-1

+ - Update to 3.7.5

+ 

  * Wed Oct 02 2019 Miro Hrončok <mhroncok@redhat.com> - 3.7.5~rc1-1

  - Update to 3.7.5rc1

  

file modified
+1 -1
@@ -1,1 +1,1 @@ 

- SHA512 (Python-3.7.5rc1.tar.xz) = 37edfdd8d166d4e26cfd3d62ae5a52d9bb22d63e9e7e8583d0e806e04fb74ca70ee1985e72f3576176c3c601c7e4992fd93043d81e626bab02f0e437e6fe26c6

+ SHA512 (Python-3.7.5.tar.xz) = f4f3879881f260f58dbb041fb0f2f210d4b70b02a739e41e50e6fea67d31855a7a29ce4ebef66bfde3d0edf54b946a48f78490f986da965357b835d4dbb3f414