/[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 1304947 by tv, Tue Sep 25 15:29:26 2018 UTC revision 1306199 by tv, Wed Sep 26 12:40:16 2018 UTC
# Line 69  Source:         https://www.python.org/f Line 69  Source:         https://www.python.org/f
69  Source1:        https://docs.python.org/%{dirver}/archives/python-%{docver}-docs-html.tar.bz2  Source1:        https://docs.python.org/%{dirver}/archives/python-%{docver}-docs-html.tar.bz2
70    
71  Patch0:         python3-3.6.2-module-linkage.patch  Patch0:         python3-3.6.2-module-linkage.patch
 Patch1:         python3-3.6.5-fdr-lib64.patch  
 Patch3:         python3-3.6.5-no-static-lib.patch  
 Patch6:         python3-3.5.2-add-rpmbuild-hooks-to-unittest.patch  
72  Patch7:         python3-3.5.2-skip-distutils-tests-that-fail-in-rpmbuild.patch  Patch7:         python3-3.5.2-skip-distutils-tests-that-fail-in-rpmbuild.patch
73  Patch10:        python3-3.6.2-uid-gid-overflows.patch  Patch10:        python3-3.6.2-uid-gid-overflows.patch
 Patch11:        python3-3.5.2-disable-test_fs_holes-in-rpm-build.patch  
 Patch12:        python3-3.5.2-disable-parts-of-test_socket-in-rpm-build.patch  
 Patch13:        python3-3.5.2-dont-duplicate-flags-in-sysconfig.patch  
74  Patch15:        python3-3.5.2-dont-raise-from-py_compile.patch  Patch15:        python3-3.5.2-dont-raise-from-py_compile.patch
75    Patch19:        python3-3.5.2-remove-hf-from-arm-triplet.patch
76    Patch20:        python3-3.6.2-libffi.patch
77    Patch21:        python3-3.6.2-python3-config-LIBPLUSED-cmp0004-error.patch
78    # from FC:
79    # Change the various install paths to use /usr/lib64/ instead or /usr/lib
80    # Only used when "%%{_lib}" == "lib64"
81    # Not yet sent upstream.
82    Patch102: 00102-lib64.patch
83    # Patch the Makefile.pre.in so that the generated Makefile doesn't try to build
84    # a libpythonMAJOR.MINOR.a
85    # See https://bugzilla.redhat.com/show_bug.cgi?id=556092
86    # Downstream only: not appropriate for upstream
87    Patch111:       00111-no-static-lib.patch
88    # Add non-standard hooks to unittest for use in the "check" phase below, when
89    # running selftests within the build:
90    #   @unittest._skipInRpmBuild(reason)
91    # for tests that hang or fail intermittently within the build environment, and:
92    #   @unittest._expectedFailureInRpmBuild
93    # for tests that always fail within the build environment
94    #
95    # The hooks only take effect if WITHIN_PYTHON_RPM_BUILD is set in the
96    # environment, which we set manually in the appropriate portion of the "check"
97    # phase below (and which potentially other python-* rpms could set, to reuse
98    # these unittest hooks in their own "check" phases)
99    Patch132:       00132-add-rpmbuild-hooks-to-unittest.patch
100    # Python 3.3 added os.SEEK_DATA and os.SEEK_HOLE, which may be present in the
101    # header files in the build chroot, but may not be supported in the running
102    # kernel, hence we disable this test in an rpm build.
103    # Adding these was upstream issue http://bugs.python.org/issue10142
104    # Not yet sent upstream
105    Patch160:       00160-disable-test_fs_holes-in-rpm-build.patch
106    # Some tests within test_socket fail intermittently when run inside Koji;
107    # disable them using unittest._skipInRpmBuild
108    # Not yet sent upstream
109    Patch163:       00163-disable-parts-of-test_socket-in-rpm-build.patch
110    # Don't duplicate various FLAGS in sysconfig values
111    # http://bugs.python.org/issue17679
112    # Does not affect python2 AFAICS (different sysconfig values initialization)
113    Patch178:       00178-dont-duplicate-flags-in-sysconfig.patch
114  %if 0%{with_rewheel}  %if 0%{with_rewheel}
115  Patch16:        python3-3.6.4-add-rewheel-module.patch  # Add the rewheel module, allowing to recreate wheels from already installed
116    # ones
117    # https://github.com/bkabrda/rewheel
118    Patch189: 00189-add-rewheel-module.patch
119  %endif  %endif
120    # LIBPL variable in makefile takes LIBPL from configure.ac
121    # but the LIBPL variable defined there doesn't respect libdir macro
122    Patch205: 00205-make-libpl-respect-lib64.patch
123  # Set values of prefix and exec_prefix in distutils install command  # Set values of prefix and exec_prefix in distutils install command
124  # to /usr/local if executable is /usr/bin/python* and RPM build  # to /usr/local if executable is /usr/bin/python* and RPM build
125  # is not detected to make pip and distutils install into separate location  # is not detected to make pip and distutils install into separate location
126  Patch17:        python3-3.6.2-change-user-install-location.patch  # Fedora Change: https://fedoraproject.org/wiki/Changes/Making_sudo_pip_safe
127  Patch18:        python3-3.5.2-make-libpl-respect-lib64.patch  Patch251: 00251-change-user-install-location.patch
128  Patch19:        python3-3.5.2-remove-hf-from-arm-triplet.patch  
 Patch20:        python3-3.6.2-libffi.patch  
 Patch21:        python3-3.6.2-python3-config-LIBPLUSED-cmp0004-error.patch  
129  # from upstream  # from upstream
130    
131  # Disable automatic bytecompilation. The python3 binary is not yet be  # Disable automatic bytecompilation. The python3 binary is not yet be
# Line 271  sed -r -i s/'_PIP_VERSION = "[0-9.]+"'/' Line 308  sed -r -i s/'_PIP_VERSION = "[0-9.]+"'/'
308  %patch0 -p1  %patch0 -p1
309    
310  %if "%{_lib}" == "lib64"  %if "%{_lib}" == "lib64"
311  %patch1 -p1  %patch102 -p1
312  %endif  %endif
313    
314  %patch3 -p1  %patch111 -p1
315  %patch6 -p1  %patch132 -p1
316    %patch160 -p1
317    %patch163 -p1
318    %patch178 -p1
319    %patch205 -p1
320  %patch7 -p1  %patch7 -p1
321  %patch10 -p1  %patch10 -p1
 %patch11 -p1  
 %patch12 -p1  
 %patch13 -p1  
322  %patch15 -p1  %patch15 -p1
323    
324  %if 0%{with_rewheel}  %if 0%{with_rewheel}
325  %patch16 -p1  %patch189 -p1
326  %endif  %endif
327  %patch17 -p1  %patch251 -p1
 %patch18 -p1  
328  %patch19 -p1  %patch19 -p1
329  %patch20 -p1  %patch20 -p1
330  %patch21 -p1  %patch21 -p1

Legend:
Removed from v.1304947  
changed lines
  Added in v.1306199

  ViewVC Help
Powered by ViewVC 1.1.30