# Patching guideline for python : # - no big patch with invasive change not # approved by upstream ( ie not coming from upstream svn ) # - small bugfix must be sent to upstream and approved if they # change any interface # - all patchs should be commented ( unless for security, # as they are usually easy to spot ) %define docver 2.7.15 %define dirver 2.7 %define lib_major %{dirver} %define lib_name_orig libpython %define lib_name %mklibname %{name} %{lib_major} %define dev_name %mklibname %{name} -d %define arch_has_valgrind 1 %ifarch %arm %mips aarch64 %define arch_has_valgrind 0 %endif %if %arch_has_valgrind %bcond_without valgrind %else %bcond_with valgrind %endif %define with_rewheel 1 %define with_emacs 0 # Some defines to ease files list %define pylibdir %{_libdir}/python%{dirver} %define dynload_dir %{pylibdir}/lib-dynload %define site_packages %{pylibdir}/site-packages # Some of the files below /usr/lib/pythonMAJOR.MINOR/test (e.g. bad_coding.py) # are deliberately invalid, leading to SyntaxError exceptions if they get # byte-compiled. # # These errors are ignored by the normal python build, and aren't normally a # problem in the buildroots since /usr/bin/python isn't present. # # So we disable here brp-python-bytecompile # %define _python_bytecompile_build 0 Summary: An interpreted, interactive object-oriented programming language Name: python Version: 2.7.15 Release: %mkrel 1 License: Modified CNRI Open Source License Group: Development/Python Url: http://www.python.org/ Source0: http://www.python.org/ftp/python/%{version}/Python-%{version}.tar.xz Source1: http://www.python.org/ftp/python/doc/%{docver}/python-%{docver}-docs-html.tar.bz2 Source4: python-mode-1.0.tar.bz2 Patch0: python-2.7.14-module-linkage.patch # Don't include /usr/local/* in search path Patch3: python-2.7.12-no-local-incpath.patch # Support */lib64 convention on x86_64, sparc64, etc. # similar patches reported upstream on http://bugs.python.org/issue1294959 Patch4: python-lib64.patch # add mandriva to the list of supported distribution, applied upstream Patch10: python-2.7.12-detect-mandriva.patch # from Fedora, fixes gettext.py parsing of Plural-Forms: header (fixes mdv bugs #49475, #44088) # to send upstream Patch16: python-2.7.14-plural-fix.patch # ffi checks for MIPS_LINUX instead of MIPS Patch23: python-2.7.12-mips-ffi.patch # do not use uname -m to get the exact name on mips/arm Patch24: python_arch.patch # fix https://bugs.mageia.org/show_bug.cgi?id=481 # mdv bug #62281 # patch to cope with lack of /dev/shm in iurt Patch25: python-2.7.14-skip-shm-test.patch Patch130: python-2.7.14-check-for-XML_SetHashSalt.patch # Enable loading sqlite extensions. This patch isn't needed for # python3.spec, since Python 3 has a configuration option for this. # rhbz#1066708 # Patch provided by John C. Peterson # Note (05/12/2017): this patch added in rev. 666153 (21/08/2014) - but never applied up to now Patch193: 00193-enable-loading-sqlite-extensions.patch %if 0%{with_rewheel} Patch198: 00198-add-rewheel-module.patch %endif # (tv) make platform supports Mageia: Patch200: add-mga-support.patch # From upstream Conflicts: tkinter < %{version} Conflicts: python-devel < 2.7-6 Requires: %{lib_name} = %{version}-%{release} BuildRequires: blt BuildRequires: db5-devel BuildRequires: emacs-bin BuildRequires: pkgconfig(expat) BuildRequires: pkgconfig(libffi) BuildRequires: gdbm-devel BuildRequires: gmp-devel BuildRequires: pkgconfig(ncursesw) BuildRequires: pkgconfig(openssl) BuildRequires: readline-devel BuildRequires: termcap-devel BuildRequires: pkgconfig(tk) BuildRequires: tix BuildRequires: autoconf2.5 BuildRequires: bzip2-devel BuildRequires: pkgconfig(sqlite3) BuildRequires: emacs %if %{with valgrind} BuildRequires: pkgconfig(valgrind) %endif %if 0%{?with_rewheel} BuildRequires: python-setuptools BuildRequires: python-pip %endif # (2010/03/21, misc: interfere with test__all ) BuildConflicts: python-pyxml Provides: python(abi) = %dirver %rename python-ctypes %rename python-elementtree Obsoletes: python-base < 2.6 Provides: python-base = %version Requires: python2-rpm-macros Provides: python2 = %version-%{release} %description Python is an interpreted, interactive, object-oriented programming language often compared to Tcl, Perl, Scheme or Java. Python includes modules, classes, exceptions, very high level dynamic data types and dynamic typing. Python supports interfaces to many system calls and libraries, as well as to various windowing systems (X11, Motif, Tk, Mac and MFC). Programmers can write new built-in modules for Python in C or C++. Python can be used as an extension language for applications that need a programmable interface. This package contains most of the standard Python modules, as well as modules for interfacing to the Tix widget set for Tk and RPM. Note that documentation for Python is provided in the python-docs package. %package -n %{lib_name} Summary: Shared libraries for Python %{version} Group: System/Libraries Requires: %{lib_name}-stdlib = %{version}-%{release} %description -n %{lib_name} This packages contains Python shared object library. Python is an interpreted, interactive, object-oriented programming language often compared to Tcl, Perl, Scheme or Java. %package -n %{lib_name}-stdlib Summary: Python %{version} standard library Group: Development/Python Conflicts: python < 2.7.11-10 Conflicts: %{dev_name} < 2.7.11-10 %description -n %{lib_name}-stdlib This package contains Python 2.7's standard library. It is normally not used on its own, but as a dependency of Python %{version}. %package -n %{lib_name}-testsuite Summary: Testsuite for the Python %{version} standard library Group: Development/Python Conflicts: python < 2.7.11-10 Conflicts: %{dev_name} < 2.7.11-10 Requires: %{lib_name}-stdlib = %{version}-%{release} Requires: %{lib_name} = %{version}-%{release} Recommends: tkinter %description -n %{lib_name}-testsuite The complete testsuite for the Python standard library. It is normally not used on its own, but as a dependency of Python %{version}. %package -n %{dev_name} Summary: The libraries and header files needed for Python development Group: Development/Python Requires: %{name} = %version Requires: %{lib_name} = %{version}-%{release} Obsoletes: %{name}-devel < %{version} # (misc) needed to ease upgrade , see #47803 Obsoletes: %mklibname -d %{name} 2.5 Obsoletes: %mklibname -d %{name} 2.6 Obsoletes: %{mklibname -d %{name} 2.7} < 2.7-4 Requires: python-rpm-macros Requires: python2-rpm-macros Provides: %{name}-devel = %{version}-%{release} Provides: python2-devel = %{version}-%{release} Provides: %{lib_name_orig}-devel = %{version}-%{release} Recommends: %{lib_name}-testsuite Recommends: python-docs %description -n %{dev_name} The Python programming language's interpreter can be extended with dynamically loaded extensions and can be embedded in other programs. This package contains the header files and libraries needed to do these types of tasks. Install %{dev_name} if you want to develop Python extensions. The python package will also need to be installed. You'll probably also want to install the python-docs package, which contains Python documentation. %package docs Summary: Documentation for the Python programming language Requires: python = %version Requires: xdg-utils Group: Development/Python BuildArch: noarch %description docs The python-docs package contains documentation on the Python programming language and interpreter. The documentation is provided 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 Group: Development/Python Requires: python = %version Requires: tcl tk Provides: python2-tkinter Conflicts: python < 2.7.11-10 %description -n tkinter The Tkinter (Tk interface) program is an graphical user interface for the Python scripting language. You should install the tkinter package if you'd like to use a graphical user interface for Python programming. %package -n tkinter-apps Summary: Various applications written using tkinter Group: Development/Python Requires: tkinter %description -n tkinter-apps Various applications written using tkinter %prep %setup -q -n Python-%{version} %patch0 -p1 # local include %patch3 -p1 # lib64 %patch4 -p1 # add mandriva to the list of supported distribution %patch10 -p1 %patch16 -p1 %patch23 -p1 %patch24 -p1 %patch25 -p1 %patch130 -p1 %patch193 -p1 %if 0%{with_rewheel} %patch198 -p1 %endif %patch200 -p1 # drop Autoconf version requirement sed -i 's/^AC_PREREQ/dnl AC_PREREQ/' configure.ac # docs mkdir html bzcat %{SOURCE1} | tar x -C html find html -type d |xargs chmod 755 find html -type f |xargs chmod 644 find . -type f -print0 | xargs -0 perl -p -i -e 's@/usr/local/bin/python@/usr/bin/python@' tar --strip-components=1 -xjf %{SOURCE4} -C Misc cat > README.mga << EOF Python interpreter support readline completion by default. This is only used with the interpreter. In order to remove it, you can : 1) unset PYTHONSTARTUP when you login 2) create a empty file \$HOME/.pythonrc.py 3) change %{_sysconfdir}/pythonrc.py EOF # make sur the IN.py TYPES.py and DLFCN.py are correct # for current arch otherwise things will start failing # in weird ways pushd Lib/plat-linux2/ ../../Tools/scripts/h2py.py -i '(u_long)' /usr/include/sys/types.h /usr/include/netinet/in.h /usr/include/dlfcn.h popd %build rm -f Modules/Setup.local cat > Modules/Setup.local << EOF linuxaudiodev linuxaudiodev.c EOF OPT="$RPM_OPT_FLAGS -g" export OPT # to fix curses module build # https://bugs.mageia.org/show_bug.cgi?id=5524 export CFLAGS="%{optflags} -I/usr/include/ncursesw" export CPPFLAGS="%{optflags} -I/usr/include/ncursesw" autoreconf -vfi # Remove -Wl,--no-undefined in accordance with MGA #9395 and MGA #10102: # https://bugs.mageia.org/show_bug.cgi?id=9395 # https://bugs.mageia.org/show_bug.cgi?id=10102 %define _disable_ld_no_undefined 1 # see https://qa.mandriva.com/show_bug.cgi?id=48570 # for wide unicode support %configure2_5x --with-threads \ --enable-unicode=ucs4 \ --with-dbmliborder=gdbm \ --enable-ipv6 \ --enable-shared \ --with-system-expat \ --with-system-ffi \ %if %{with valgrind} --with-valgrind %endif # (misc) if the home is nfs mounted, rmdir fails due to delay export TMP="/tmp" TMPDIR="/tmp" make %check # (misc) if the home is nfs mounted, rmdir fails export TMP="/tmp" TMPDIR="/tmp" # all tests must pass %define custom_test "" %ifarch %arm # don't know if it's a python issue or a toolchain issue :( # test test_float failed -- Traceback (most recent call last): # File "/home/rtp/deb/python2.6-2.6.4/Lib/test/test_float.py", line 665, in test_from_hex # self.identical(fromHex('0x0.ffffffffffffd6p-1022'), MIN-3*TINY) # File "/home/rtp/deb/python2.6-2.6.4/Lib/test/test_float.py", line 375, in identical # self.fail('%r not identical to %r' % (x, y)) # AssertionError: 2.2250738585071999e-308 not identical to 2.2250738585071984e-308 %define custom_test test_float test_cmath %endif %ifarch aarch64 %define custom_test test_ctypes %endif # if a test doesn't pass, it can be disabled with -x test, but this should be documented in the # spec file, and a bug should be reported if possible ( on python side ) # (misc, 29/10/2010) "test_site" fail due to one of our patch, will fix later # (05/12/2017) "test_tuple" fails on i586 only, no crash though # (01/05/2018) "test_ssl" fails on BS "UnicodeEncodeError" WITHIN_PYTHON_RPM_BUILD= make test TESTOPTS="-w -l -x test_xml_etree test_xml_etree_c test_ssl test_site test_tuple %custom_test" %install mkdir -p %{buildroot}%{_prefix}/lib/python%{dirver} %if "%{_lib}" == "lib64" mkdir -p %{buildroot}%{_prefix}/lib/python%{dirver}/site-packages %endif # fix Makefile to get rid of reference to distcc perl -pi -e "/^CC=/ and s/distcc/gcc/" Makefile # set the install path echo '[install_scripts]' >setup.cfg echo 'install_dir='"%{buildroot}/usr/bin" >>setup.cfg # python is not GNU and does not know fsstd mkdir -p %{buildroot}%{_mandir} %makeinstall_std (cd %{buildroot}%{_libdir}; ln -sf libpython%{lib_major}.so.* libpython%{lib_major}.so) # Provide a libpython%{dirver}.so symlink in /usr/lib/puthon*/config, so that # the shared library could be found when -L/usr/lib/python*/config is specified (cd %{buildroot}%{_libdir}/python%{dirver}/config; ln -sf ../../libpython%{lib_major}.so .) %if 0%{?with_emacs} # emacs, I use it, I want it mkdir -p %{buildroot}%{_datadir}/emacs/site-lisp install -m 644 Misc/python-mode.el %{buildroot}%{_datadir}/emacs/site-lisp emacs -batch -f batch-byte-compile %{buildroot}%{_datadir}/emacs/site-lisp/python-mode.el install -d %{buildroot}%{_sysconfdir}/emacs/site-start.d cat <<EOF >%{buildroot}%{_sysconfdir}/emacs/site-start.d/%{name}.el (setq auto-mode-alist (cons '("\\\\.py$" . python-mode) auto-mode-alist)) (autoload 'python-mode "python-mode" "Mode for python files." t) EOF #" this comment is just here because vim syntax higlighting is confused by the previous snippet of lisp %endif # smtpd proxy mv -f %{buildroot}%{_bindir}/smtpd.py $RPM_BUILD_ROOT%{_libdir}/python%{dirver}/ # idle cp Tools/scripts/idle %{buildroot}%{_bindir}/idle # pynche cat << EOF > %{buildroot}%{_bindir}/pynche #!/bin/bash exec %{_libdir}/python%{dirver}/site-packages/pynche/pynche EOF rm -f Tools/pynche/*.pyw cp -r Tools/pynche %{buildroot}%{_libdir}/python%{dirver}/site-packages/ chmod 755 %{buildroot}%{_bindir}/{idle,pynche} ln -f Tools/pynche/README Tools/pynche/README.pynche %if %{with valgrind} install Misc/valgrind-python.supp -D %{buildroot}%{_libdir}/valgrind/valgrind-python.supp %endif mkdir -p %{buildroot}%{_datadir}/applications cat > %{buildroot}%{_datadir}/applications/%{_real_vendor}-tkinter.desktop << EOF [Desktop Entry] Name=IDLE Comment=IDE for Python Exec=%{_bindir}/idle Icon=development_environment_section Terminal=false Type=Application Categories=Development;IDE; EOF cat > %{buildroot}%{_datadir}/applications/%{_real_vendor}-%{name}-docs.desktop << EOF [Desktop Entry] Name=Python documentation Comment=Python complete reference Exec=%{_bindir}/xdg-open %_defaultdocdir/%{name}-docs/index.html Icon=documentation_section Terminal=false Type=Application Categories=Documentation; EOF # fix non real scripts chmod 644 %{buildroot}%{_libdir}/python*/test/test_{binascii,grp,htmlparser}.py* # fix python library not stripped chmod u+w %{buildroot}%{_libdir}/libpython%{lib_major}.so.1.0 mkdir -p %{buildroot}%{_sysconfdir}/profile.d/ cat > %{buildroot}%{_sysconfdir}/profile.d/30python2.sh << 'EOF' if [ -f $HOME/.pythonrc.py ] ; then export PYTHONSTARTUP=$HOME/.pythonrc.py else export PYTHONSTARTUP=/etc/pythonrc.py fi EOF cat > %{buildroot}%{_sysconfdir}/profile.d/30python2.csh << 'EOF' if ( -f ${HOME}/.pythonrc.py ) then setenv PYTHONSTARTUP ${HOME}/.pythonrc.py else setenv PYTHONSTARTUP /etc/pythonrc.py endif EOF cat > %{buildroot}%{_sysconfdir}/pythonrc.py << EOF try: get_ipython() except: try: # this add completion to python interpreter import readline import rlcompleter # see readline man page for this readline.parse_and_bind("set show-all-if-ambiguous on") readline.parse_and_bind("tab: complete") except: pass # you can place a file .pythonrc.py in your home to overrides this one # but then, this file will not be sourced EOF %multiarch_includes %{buildroot}/usr/include/python*/pyconfig.h rm -f %{buildroot}%{pylibdir}/LICENSE.txt %files %doc README.mga %if 0%{?with_emacs} %config(noreplace) %{_sysconfdir}/emacs/site-start.d/%{name}.el %endif %config(noreplace) %{_sysconfdir}/profile.d/30python2.* %config(noreplace) %{_sysconfdir}/pythonrc.py %{_bindir}/python2 %{_bindir}/python%{dirver} %{_bindir}/pydoc %{_bindir}/python %{_bindir}/2to3 %if 0%{?with_emacs} %{_datadir}/emacs/site-lisp/* %endif %{_mandir}/man*/* %files -n %{lib_name}-stdlib %license LICENSE %dir %{pylibdir} %dir %{dynload_dir} %{dynload_dir}/Python-%{version}-py%{dirver}.egg-info %exclude %{dynload_dir}/_tkinter.so %exclude %{dynload_dir}/_ctypes_test.so %exclude %{dynload_dir}/_testcapi.so %{dynload_dir}/*.so %dir %{site_packages} %{site_packages}/README %{pylibdir}/*.py* %{pylibdir}/*.doc %{pylibdir}/wsgiref.egg-info %dir %{pylibdir}/bsddb %{pylibdir}/bsddb/*.py* %{pylibdir}/compiler %dir %{pylibdir}/ctypes %{pylibdir}/ctypes/*.py* %{pylibdir}/ctypes/macholib %{pylibdir}/curses %dir %{pylibdir}/distutils %{pylibdir}/distutils/*.py* %{pylibdir}/distutils/README %{pylibdir}/distutils/command %exclude %{pylibdir}/distutils/command/wininst-*.exe %dir %{pylibdir}/email %{pylibdir}/email/*.py* %{pylibdir}/email/mime %{pylibdir}/encodings %{pylibdir}/hotshot %{pylibdir}/importlib %dir %{pylibdir}/json %{pylibdir}/json/*.py* %{pylibdir}/lib2to3 %exclude %{pylibdir}/lib2to3/tests %{pylibdir}/logging %{pylibdir}/multiprocessing %{pylibdir}/plat-linux2 %{pylibdir}/pydoc_data %dir %{pylibdir}/sqlite3 %{pylibdir}/sqlite3/*.py* %dir %{pylibdir}/test %{pylibdir}/test/test_support.py* %{pylibdir}/test/__init__.py* %{pylibdir}/unittest/*.py* %{pylibdir}/wsgiref %{pylibdir}/xml %if "%{_lib}" == "lib64" %dir %{_prefix}/lib/python%{dirver} %dir %{_prefix}/lib/python%{dirver}/site-packages %endif # "Makefile" and the config.h file are needed by # distutils/sysconfig.py:_init_posix(), so we include them in the libs # package, along with their parent directories (RH bug#531901): %dir %{_libdir}/python%{dirver}/config %{_libdir}/python%{dirver}/config/Makefile %dir %{_includedir}/python%{dirver} %{_includedir}/python%{dirver}/pyconfig.h %multiarch %multiarch_includedir/python%{dirver}/pyconfig.h %dir %{pylibdir}/ensurepip/ %{pylibdir}/ensurepip/*.py* %exclude %{pylibdir}/ensurepip/_bundled %if 0%{?with_rewheel} %dir %{pylibdir}/ensurepip/rewheel/ %{pylibdir}/ensurepip/rewheel/*.py* %endif %files -n %{lib_name} %{_libdir}/libpython*.so.1* %files -n %{dev_name} %{_libdir}/libpython*.so %{_libdir}/pkgconfig/*.pc %{_includedir}/python%{dirver} %{_libdir}/python%{dirver}/config/* %{_bindir}/python%{dirver}-config %{_bindir}/python-config %{_bindir}/python2-config %exclude %{_libdir}/python%{dirver}/config/Makefile %exclude %{_includedir}/python%{dirver}/pyconfig.h %if %{with valgrind} %{_libdir}/valgrind/valgrind-python.supp %endif %files -n %{lib_name}-testsuite %{pylibdir}/bsddb/test %{pylibdir}/ctypes/test %{pylibdir}/distutils/tests %{pylibdir}/email/test %{pylibdir}/json/tests %{pylibdir}/lib2to3/tests %{pylibdir}/sqlite3/test %{pylibdir}/test/* %{pylibdir}/unittest/test # These two are shipped in the main subpackage: %exclude %{pylibdir}/test/test_support.py* %exclude %{pylibdir}/test/__init__.py* %{dynload_dir}/_ctypes_test.so %{dynload_dir}/_testcapi.so %files docs %doc html/*/* %{_datadir}/applications/%{_real_vendor}-%{name}-docs.desktop %files -n tkinter %dir %{pylibdir}/lib-tk %{pylibdir}/lib-tk/*.py* %{pylibdir}/lib-tk/test/ %{dynload_dir}/_tkinter.so %{pylibdir}/idlelib %{site_packages}/pynche %files -n tkinter-apps %{_bindir}/idle %{_bindir}/pynche %{_datadir}/applications/%{_real_vendor}-tkinter.desktop %changelog * Tue May 01 2018 philippem <philippem> 2.7.15-1.mga6 (not released yet) + Revision: 1224279 - update to 2.7.15 - disable emacs - disable emacs, bump subrel - disable emacs - fix CVE-2018-1060 mga#22845 + luigiwalser <luigiwalser> - add patch from ubuntu to fix CVE-2017-1000158 * Sat Jan 28 2017 philippem <philippem> 2.7.13-1.mga6 + Revision: 1083777 - update to 2.7.13 * Sat Sep 10 2016 daviddavid <daviddavid> 2.7.12-4.mga6 + Revision: 1051328 - rebuild to regenerate rpms (they were mistakenly replaced with those of Updates_testing) * Sat Aug 13 2016 philippem <philippem> 2.7.12-3.mga6 + Revision: 1046402 - fix CVE-2016-1000110 * Wed Jul 06 2016 tmb <tmb> 2.7.12-2.mga6 + Revision: 1039104 - submit to release * Mon Jul 04 2016 philippem <philippem> 2.7.12-1.mga6 + Revision: 1038599 - update to 2.7.12 * Tue Jun 21 2016 philippem <philippem> 2.7.11-14.mga6 + Revision: 1037112 - improve patch for zipimporter (mga#18691) * Sun Jun 19 2016 philippem <philippem> 2.7.11-13.mga6 + Revision: 1036799 - fix CVE-2016-0772 mga#18691 * Sun Jun 12 2016 philippem <philippem> 2.7.11-12.mga6 + Revision: 1021227 - fix heap overflow in zipimporter module mga#18691 - add conflict for tkinter * Mon Jun 06 2016 tv <tv> 2.7.11-11.mga6 + Revision: 1020342 - unbloat installation: o remove recommends on tkinter-apps o move recommends on python-doc in devel package * Sun Jun 05 2016 philippem <philippem> 2.7.11-10.mga6 + Revision: 1020261 - conflict previous devel and new stdlib * Fri Jun 03 2016 philippem <philippem> 2.7.11-9.mga6 + Revision: 1020189 - remove idlelib from stdlib, it is in tkinter - update provides and requires - split in sub packages (mga#18561) + tv <tv> - make devel package require macro packages * Thu Mar 03 2016 umeabot <umeabot> 2.7.11-7.mga6 + Revision: 983935 - Rebuild for openssl * Tue Mar 01 2016 ovitters <ovitters> 2.7.11-6.mga6 + Revision: 981720 - rebuild for new openssl * Sat Feb 27 2016 philippem <philippem> 2.7.11-5.mga6 + Revision: 980087 - remove macros now in python-rpm-macros * Fri Feb 26 2016 tv <tv> 2.7.11-4.mga6 + Revision: 979660 - actually apply patch 200 * Fri Feb 26 2016 tv <tv> 2.7.11-3.mga6 + Revision: 979658 - patch 200: make platform supports Mageia + umeabot <umeabot> - Mageia 6 Mass Rebuild * Tue Dec 08 2015 philippem <philippem> 2.7.11-1.mga6 + Revision: 908873 - update to 2.7.11 * Sun Nov 01 2015 pterjan <pterjan> 2.7.10-9.mga6 + Revision: 897193 - Disable test_cmath on arm for now * Thu Oct 29 2015 blino <blino> 2.7.10-8.mga6 + Revision: 896467 - fix HTTPS connection with proxy (upstream patch, python#24311 and python#22095) * Mon Oct 05 2015 daviddavid <daviddavid> 2.7.10-7.mga6 + Revision: 886399 - rebuild for new tcl/tk 8.6.4 * Wed Sep 23 2015 daviddavid <daviddavid> 2.7.10-6.mga6 + Revision: 882490 - fix %%{python2_version} macro as it give a wrong result: '2.' instead of '2.7' * Sun Sep 06 2015 philippem <philippem> 2.7.10-5.mga6 + Revision: 873284 - add new macros * Fri Aug 21 2015 tmb <tmb> 2.7.10-4.mga6 + Revision: 867691 - rebuild for new gcc * Fri Aug 14 2015 joequant <joequant> 2.7.10-3.mga6 + Revision: 864741 - add provides python2-devel to devel package * Tue Jul 21 2015 philippem <philippem> 2.7.10-2.mga6 + Revision: 855969 - add python2 macros * Sun Jul 19 2015 philippem <philippem> 2.7.10-1.mga6 + Revision: 855206 - update to 2.7.10 * Sat Dec 13 2014 philippem <philippem> 2.7.9-2.mga5 + Revision: 802937 - fix security issues CVE-2014-9365 mga#14780 * Wed Oct 15 2014 umeabot <umeabot> 2.7.8-4.mga5 + Revision: 747886 - Second Mageia 5 Mass Rebuild * Sat Sep 27 2014 tv <tv> 2.7.8-3.mga5 + Revision: 728012 - rebuild for missing pythoneggs deps + umeabot <umeabot> - Mageia 5 Mass Rebuild * Thu Aug 21 2014 philippem <philippem> 2.7.8-1.mga5 + Revision: 666153 - update to 2.7.8 * Sat Jun 28 2014 philippem <philippem> 2.7.6-7.mga5 + Revision: 640847 - fix CVE-2014-4650 and CVE-2014-4616 mga#15588) + pterjan <pterjan> - Rebuild for new Python * Thu Apr 10 2014 philippem <philippem> 2.7.6-5.mga5 + Revision: 613314 - fix import tab-complete fail with ipython 2.0 shell * Tue Mar 25 2014 philippem <philippem> 2.7.6-4.mga5 + Revision: 608675 - fix readline module build * Wed Mar 19 2014 philippem <philippem> 2.7.6-3.mga5 + Revision: 605624 - fix sqlite-3.8.4 tests - added patches for CVE-2013-1752 (mga#12127) issues that are missing in 2.7.6: python-2.7.6-imaplib.patch python-2.7.6-poplib.patch smtplib_maxline-2.7.patch - CVE-2013-1753 (mga#13041) gzip decompression bomb in xmlrpc client: xmlrpc_gzip_27.patch * Sat Feb 15 2014 philippem <philippem> 2.7.6-2.mga5 + Revision: 592000 -fix buffer overflow CVE-2014-1912 with upstream patch * Thu Feb 06 2014 fwang <fwang> 2.7.6-1.mga5 + Revision: 584428 - rediff patch - 2.7.6 * Tue Oct 22 2013 umeabot <umeabot> 2.7.5-11.mga4 + Revision: 545491 - Mageia 4 Mass Rebuild * Tue Oct 15 2013 pterjan <pterjan> 2.7.5-10.mga4 + Revision: 498057 - Rebuild to add different pythonegg provides for python 2 and 3 * Thu Sep 26 2013 fwang <fwang> 2.7.5-9.mga4 + Revision: 486490 - drop conflicts could not be satisfied * Wed Sep 25 2013 philippem <philippem> 2.7.5-8.mga4 + Revision: 486298 + rebuild (emptylog) * Wed Sep 25 2013 fwang <fwang> 2.7.5-7.mga4 + Revision: 485888 - versioned obsoletes * Wed Sep 25 2013 fwang <fwang> 2.7.5-6.mga4 + Revision: 485866 - add conflicts to ease upgrade * Tue Sep 24 2013 philippem <philippem> 2.7.5-5.mga4 + Revision: 485674 - remove PYTHONDONTWRITEBYTECODE=1 fix mga#3348 - profile.d files as configfile noreplace fix mga#10758 * Mon Aug 12 2013 oden <oden> 2.7.5-4.mga4 + Revision: 465654 - P174: security fix for CVE-2013-4073 (upstream) * Wed Jun 26 2013 philippem <philippem> 2.7.5-3.mga4 + Revision: 447236 - Convert inconsistent indentation to spaces only to be in synch with python3 package * Tue Jun 25 2013 philippem <philippem> 2.7.5-2.mga4 + Revision: 446643 - Remove -Wl,--no-undefined in accordance with MGA #9395 and MGA #10102 - Remove -Wl,--no-undefined in Makefile in accordance with MGA #9395 and MGA #10102 * Tue May 28 2013 tv <tv> 2.7.5-1.mga4 + Revision: 429662 - new release - rediff patches * Tue May 28 2013 tv <tv> 2.7.3-8.mga4 + Revision: 429649 - make docs readable by !root... * Sun Jan 13 2013 umeabot <umeabot> 2.7.3-7.mga3 + Revision: 378425 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Mon Aug 06 2012 luigiwalser <luigiwalser> 2.7.3-6.mga3 + Revision: 278990 - rebuild for libffi * Mon Jul 30 2012 tv <tv> 2.7.3-5.mga3 + Revision: 276242 - rebuild for db-5.3 * Tue Jul 10 2012 luigiwalser <luigiwalser> 2.7.3-4.mga3 + Revision: 269231 - add patch from rhel6 via mdv to verify that XML_SetHashSalt is in expat * Mon Jun 18 2012 obgr_seneca <obgr_seneca> 2.7.3-3.mga3 + Revision: 261795 - use system expat and ffi instead of bundled ones - clean BRs - Added patch for CVE-2011-4944 (Mga Bug #5843) * Thu Jun 14 2012 tv <tv> 2.7.3-2.mga3 + Revision: 260509 - build with db5.2 * Sun Apr 22 2012 wally <wally> 2.7.3-2.mga2 + Revision: 232502 - fix _curses module build (mga#5524) * Thu Apr 19 2012 fwang <fwang> 2.7.3-1.mga2 + Revision: 231756 - update file list - use xz tarball - update file list - new version 2.7.3 + guillomovitch <guillomovitch> - spec cleanup - rename distribution-specific documentation file to README.mga * Mon Dec 05 2011 fwang <fwang> 2.7.2-3.mga2 + Revision: 176928 - add upstream patch to recognize gdbm 1.9 magic value - build with gdbm - rebuild for new gdbm * Fri Sep 02 2011 tv <tv> 2.7.2-2.mga2 + Revision: 137806 - make the huge doc subpackage be noarch * Sat Jul 02 2011 fwang <fwang> 2.7.2-1.mga2 + Revision: 117293 - br valgrind-devel - new version 2.7.2 * Mon May 23 2011 misc <misc> 2.7.1-6.mga1 + Revision: 100214 - do not duplicate line wth test ( especially since this mean some of them will be out of sync - disable test_urllib2, as the test added by latest CVE do not seems to work ( at least on our builder bot ) and we are soon releasing + dmorgan <dmorgan> - P26: security fix for CVE-2011-1521 * Thu May 05 2011 misc <misc> 2.7.1-5.mga1 + Revision: 95183 - reuse mandriva patch made by Guillomovitch to fix mga#481 * Thu May 05 2011 misc <misc> 2.7.1-4.mga1 + Revision: 95087 - update patch to make sure that semaphore are enabled ( 2nd attempt at bug 481 ) * Tue Apr 26 2011 wally <wally> 2.7.1-3.mga1 + Revision: 91819 - fix desktop file names (mga#954) - drop buildroot definition * Thu Apr 14 2011 misc <misc> 2.7.1-2.mga1 + Revision: 85334 - add fix for mageia bug 481, patch by Panos Christeas, to force detection of sem_open + rtp <rtp> - fix ffi check on mips - regenerate IN.py/DLFCN.py/... at build time to make sure they're fine on current arch - fix arch detection - disable float test on arm * Sun Jan 16 2011 misc <misc> 2.7.1-1.mga1 + Revision: 20497 - built without db2 support ( was dropped from fedora, and i do not really know why we keep it ) - remove old compatibility macros + blino <blino> - imported package python