|
@@ -11,15 +11,17 @@
|
|
|
Summary: An interpreted, interactive, object-oriented programming language.
|
|
|
Summary(ja): オブジェクト指向言語 Python インタプリタ
|
|
|
Name: python
|
|
|
-Version: %{pybasever}.11
|
|
|
-Release: 2%{?_dist_release}
|
|
|
+Version: %{pybasever}.15
|
|
|
+Release: 1%{?_dist_release}
|
|
|
License: PSF
|
|
|
Group: Development/Languages
|
|
|
URL: http://www.python.org/%{pybasever}/
|
|
|
+
|
|
|
Source0: http://www.python.org/ftp/python/%{version}/Python-%{version}.tar.xz
|
|
|
-Source1: http://docs.python.org/archives/python-%{version}-docs-html.tar.bz2
|
|
|
+Source1: http://docs.python.org/2/archives/python-%{version}-docs-html.tar.bz2
|
|
|
Source2: http://python-doc-ja.googlecode.com/files/python-doc-%{pybasever}ja1-html.zip
|
|
|
Source6: shmmodule.c
|
|
|
+
|
|
|
Patch0: python-2.7.1-config.patch
|
|
|
Patch3: python-2.2.1-pydocnogui.patch
|
|
|
Patch4: python-2.3.3-distutilrpm.patch
|
|
@@ -30,21 +32,21 @@ Patch22: python-2.5-cflags.patch
|
|
|
Patch23: python-2.5.1-plural-fix.patch
|
|
|
Patch24: python-2.5.1-sqlite-encoding.patch
|
|
|
Patch29: python-2.6.5-more-configuration-flags.patch
|
|
|
-Patch31: python-2.7rc1-binutils-no-dep.patch
|
|
|
+# Patch31: python-2.7rc1-binutils-no-dep.patch
|
|
|
Patch36: python-2.7rc1-no-static-lib.patch
|
|
|
Patch37: python-2.7rc1-socketmodule-constants.patch
|
|
|
Patch38: python-2.7rc1-socketmodule-constants2.patch
|
|
|
Patch39: python-2.7rc1-statvfs-f_flag-constants.patch
|
|
|
|
|
|
Patch41: 00121-add-Modules-to-build-path.patch
|
|
|
-Patch42: 00125-less-verbose-COUNT_ALLOCS.patch
|
|
|
+# Patch42: 00125-less-verbose-COUNT_ALLOCS.patch
|
|
|
Patch43: 00133-skip-test_dl.patch
|
|
|
Patch44: 00137-skip-distutils-tests-that-fail-in-rpmbuild.patch
|
|
|
|
|
|
## for lib64
|
|
|
Patch100: python-2.7-lib64-Makefile.patch
|
|
|
-Patch101: python-2.7-lib64-setup.patch
|
|
|
-Patch102: python-2.7-lib64-getpath.patch
|
|
|
+# Patch101: python-2.7-lib64-setup.patch
|
|
|
+# Patch102: python-2.7-lib64-getpath.patch
|
|
|
Patch103: python-2.7-lib64-site.patch
|
|
|
Patch104: python-2.7-lib64-install.patch
|
|
|
Patch105: python-2.7-lib64-sysconfig.patch
|
|
@@ -156,6 +158,7 @@ in ASCII text files and in LaTeX source files.
|
|
|
|
|
|
Install the python-docs package if you'd like to use the documentation
|
|
|
for the Python language.
|
|
|
+#'
|
|
|
|
|
|
%package -n tkinter
|
|
|
Summary: A graphical user interface for the Python scripting language.
|
|
@@ -173,6 +176,7 @@ the Python scripting language.
|
|
|
|
|
|
You should install the tkinter package if you'd like to use a graphical
|
|
|
user interface for Python programming.
|
|
|
+#'
|
|
|
|
|
|
|
|
|
%prep
|
|
@@ -187,7 +191,7 @@ user interface for Python programming.
|
|
|
%patch23 -p1 -b .plural-fix
|
|
|
%patch24 -p1 -b .sqlite-encoding
|
|
|
%patch29 -p1 -b .more-configuration-flags
|
|
|
-%patch31 -p1 -b .binutils-no-dep
|
|
|
+# %patch31 -p1 -b .binutils-no-dep
|
|
|
%patch36 -p1 -b .no-static-lib
|
|
|
%patch37 -p1 -b .socketmodule-constants
|
|
|
%patch38 -p1 -b .socketmodule-constants2
|
|
@@ -195,14 +199,14 @@ user interface for Python programming.
|
|
|
|
|
|
## from fedora-rawhide on 2.7.5
|
|
|
%patch41 -p1
|
|
|
-%patch42 -p1 -b .less-verbose-COUNT_ALLOCS
|
|
|
+# %patch42 -p1 -b .less-verbose-COUNT_ALLOCS
|
|
|
%patch43 -p1
|
|
|
%patch44 -p1
|
|
|
|
|
|
%if %{_lib} == lib64
|
|
|
%patch100 -p1 -b .Makefile
|
|
|
-%patch101 -p1 -b .setup
|
|
|
-%patch102 -p1 -b .getpath
|
|
|
+# %patch101 -p1 -b .setup
|
|
|
+# %patch102 -p1 -b .getpath
|
|
|
%patch103 -p1 -b .site
|
|
|
%patch104 -p1 -b .install
|
|
|
%patch105 -p1 -b .sysconfig
|
|
@@ -466,6 +470,10 @@ rm -fr $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Fri Nov 02 2018 Toshiaki Ara <ara_t@384.jp> 2.7.15-1
|
|
|
+- new upstream release
|
|
|
+- drop Patches (31,42,101,102)
|
|
|
+
|
|
|
* Sun Mar 27 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.7.11-2
|
|
|
- rebuild with openssl-1.0.2g
|
|
|
|