-# TODO: --with-system-libmpdec when new version released [BR: mpdecimal-devel > 2.3]
+# TODO:
+# - fix lib64 and noarch/datadir patches as the 2nd one overrides some
+# changes made by the first one; propose patches to python team as they
+# seem to be duplicated by fedora as well
+# - --with-system-libmpdec when new version released [BR: mpdecimal-devel > 2.3]
#
# Conditional build:
%bcond_with info # info pages (requires emacs)
Summary(tr.UTF-8): X arayüzlü, yüksek düzeyli, kabuk yorumlayıcı dili
Summary(uk.UTF-8): Мова програмування дуже високого рівня з X-інтерфейсом
Name: python3
-Version: %{py_ver}.1
-Release: 0.1
+Version: %{py_ver}.2
+Release: 1
Epoch: 1
License: PSF
Group: Applications
Source0: http://www.python.org/ftp/python/%{version}/Python-%{version}.tar.xz
-# Source0-md5: 993232d9f4d9b4863cc1ec69a792e9cd
+# Source0-md5: c94b78ea3b68a9bbc9906af4d5b4fdc7
Patch0: %{name}-pythonpath.patch
Patch1: %{name}-ac_fixes.patch
Patch2: %{name}-lib64.patch
Patch4: %{name}-no_cmdline_tests.patch
Patch5: %{name}-makefile-location.patch
Patch6: libc-cloexec.patch
+Patch7: python-distro.patch
URL: http://www.python.org/
BuildRequires: autoconf >= 2.65
BuildRequires: bluez-libs-devel
%patch4 -p1
%patch5 -p1
%patch6 -p1
+%patch7 -p1
%{__rm} -r Modules/zlib
%{__rm} -r Modules/expat
%attr(755,root,root) %{_bindir}/python%{py_abi}
%attr(755,root,root) %{_bindir}/python3
%{_mandir}/man1/python%{py_ver}.1*
+%{_mandir}/man1/python3.1*
%files libs
%defattr(644,root,root,755)
%dir %{py_scriptdir}/email/mime
%{py_scriptdir}/email/__pycache__
%{py_scriptdir}/email/mime/__pycache__
+%{py_scriptdir}/email/architecture.rst
%{py_scriptdir}/email/*.py
%{py_scriptdir}/email/mime/*.py