Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2013-12-07 08:50:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python" Changes: -------- --- /work/SRC/openSUSE:Factory/python/python-base.changes 2013-11-26 19:33:33.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python.new/python-base.changes 2013-12-07 08:50:07.000000000 +0100 @@ -1,0 +2,23 @@ +Tue Dec 3 20:03:08 CET 2013 - [email protected] + +- adapt python-2.7.5-multilib.patch for ppc64le + +------------------------------------------------------------------- +Tue Dec 3 17:30:26 UTC 2013 - [email protected] + +- adjust %files for ppc64le + +------------------------------------------------------------------- +Tue Dec 3 17:05:45 UTC 2013 - [email protected] + +- Support for ppc64le in _ctypes libffi copy. + +- added patches: + * libffi-ppc64le.diff +------------------------------------------------------------------- +Tue Dec 3 09:44:28 UTC 2013 - [email protected] + +- add ppc64le rules +- avoid errors from source-validator + +------------------------------------------------------------------- python.changes: same change Old: ---- _local.pth New: ---- libffi-ppc64le.diff local.pth ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-base.spec ++++++ --- /var/tmp/diff_new_pack.CH1MI7/_old 2013-12-07 08:50:10.000000000 +0100 +++ /var/tmp/diff_new_pack.CH1MI7/_new 2013-12-07 08:50:10.000000000 +0100 @@ -29,7 +29,7 @@ Source1: macros.python Source2: baselibs.conf Source3: README.SUSE -Source5: _local.pth +Source5: local.pth # COMMON-PATCH-BEGIN Patch1: python-2.7-dirs.patch Patch2: python-distutils-rpm-8.patch @@ -50,6 +50,8 @@ Patch22: python-2.7.4-aarch64.patch Patch23: python-2.7.4-no-REUSEPORT.patch Patch24: python-bsddb6.diff +# PATCH-FIX-OPENSUSE Properly support ppc64le in _ctypes module +Patch25: libffi-ppc64le.diff # COMMON-PATCH-END %define python_version %(echo %{tarversion} | head -c 3) BuildRequires: automake @@ -132,7 +134,7 @@ %patch10 -p1 %patch13 -p1 #skip test_io test for ppc,ppc64 as it is broken. -%ifarch ppc ppc64 +%ifarch ppc ppc64 ppc64le %patch15 -p1 %endif %patch17 -p1 @@ -141,6 +143,7 @@ %patch22 -p1 %patch23 -p1 %patch24 -p1 +%patch25 -p0 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac @@ -209,7 +212,7 @@ # install it ######################################## %make_install OPT="%{optflags} -fPIC" -install -m 644 %{SOURCE5} %{buildroot}%{_libdir}/python%{python_version}/site-packages +install -m 644 %{SOURCE5} %{buildroot}%{_libdir}/python%{python_version}/site-packages/_local.pth install -d -m 755 %{buildroot}%{_sysconfdir}/rpm install -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/rpm # make sure /usr/lib/python/site-packages exists even on lib64 machines @@ -377,7 +380,7 @@ %{_libdir}/python%{python_version}/lib-dynload/_multibytecodec.so %{_libdir}/python%{python_version}/lib-dynload/Python-%{tarversion}-py%{python_version}.egg-info # these modules don't support 64-bit arches (disabled by setup.py) -%ifnarch alpha ia64 x86_64 s390x ppc64 sparc64 aarch64 +%ifnarch alpha ia64 x86_64 s390x ppc64 ppc64le sparc64 aarch64 # requires sizeof(int) == sizeof(long) == sizeof(char*) %{_libdir}/python%{python_version}/lib-dynload/dl.so %endif ++++++ python-doc.spec ++++++ --- /var/tmp/diff_new_pack.CH1MI7/_old 2013-12-07 08:50:10.000000000 +0100 +++ /var/tmp/diff_new_pack.CH1MI7/_new 2013-12-07 08:50:10.000000000 +0100 @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: python-doc Version: 2.7.6 Release: 0 @@ -55,6 +56,8 @@ Patch22: python-2.7.4-aarch64.patch Patch23: python-2.7.4-no-REUSEPORT.patch Patch24: python-bsddb6.diff +# PATCH-FIX-OPENSUSE Properly support ppc64le in _ctypes module +Patch25: libffi-ppc64le.diff # COMMON-PATCH-END Provides: pyth_doc Provides: pyth_ps @@ -93,7 +96,7 @@ %patch10 -p1 %patch13 -p1 #skip test_io test for ppc,ppc64 as it is broken. -%ifarch ppc ppc64 +%ifarch ppc ppc64 ppc64le %patch15 -p1 %endif %patch17 -p1 @@ -102,6 +105,7 @@ %patch22 -p1 %patch23 -p1 %patch24 -p1 +%patch25 -p0 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac ++++++ python.spec ++++++ --- /var/tmp/diff_new_pack.CH1MI7/_old 2013-12-07 08:50:10.000000000 +0100 +++ /var/tmp/diff_new_pack.CH1MI7/_new 2013-12-07 08:50:10.000000000 +0100 @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: python Version: 2.7.6 Release: 0 @@ -56,6 +57,8 @@ Patch22: python-2.7.4-aarch64.patch Patch23: python-2.7.4-no-REUSEPORT.patch Patch24: python-bsddb6.diff +# PATCH-FIX-OPENSUSE Properly support ppc64le in _ctypes module +Patch25: libffi-ppc64le.diff # COMMON-PATCH-END BuildRequires: automake BuildRequires: db-devel @@ -170,7 +173,7 @@ %patch10 -p1 %patch13 -p1 #skip test_io test for ppc,ppc64 as it is broken. -%ifarch ppc ppc64 +%ifarch ppc ppc64 ppc64le %patch15 -p1 %endif %patch17 -p1 @@ -179,6 +182,7 @@ %patch22 -p1 %patch23 -p1 %patch24 -p1 +%patch25 -p0 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac ++++++ libffi-ppc64le.diff ++++++ ++++ 1757 lines (skipped) ++++++ local.pth ++++++ import site; import sys; site.addsitedir("/usr/local/" + sys.lib + "/python"+sys.version[:3]+"/site-packages", set()); sys.lib != "lib" and site.addsitedir("/usr/local/lib/python"+sys.version[:3]+"/site-packages", set()) ++++++ python-2.7.5-multilib.patch ++++++ --- /var/tmp/diff_new_pack.CH1MI7/_old 2013-12-07 08:50:10.000000000 +0100 +++ /var/tmp/diff_new_pack.CH1MI7/_new 2013-12-07 08:50:10.000000000 +0100 @@ -33,7 +33,7 @@ +esac + +case $ARCH:$python_cv_cc_64bit_output in -+aarch64:yes | ppc64:yes | powerpc64:yes | s390x:yes | sparc64:yes | x86_64:yes) ++aarch64:yes | ppc64:yes | ppc64le:yes | powerpc64:yes | s390x:yes | sparc64:yes | x86_64:yes) + LIB="lib64" + ;; +*:*) -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
