X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=python3.spec;h=92f9c371c046db8feaa2d0cef1b34863ad09fc27;hb=47c2d3a32f5ad791b4c2dbc1ae68bd6b847e0401;hp=d8a8a1269f41704db202f988147320cc5b1c69aa;hpb=35acaf012f5d9b035d5e2b534dc3ec8158576542;p=packages%2Fpython3.git diff --git a/python3.spec b/python3.spec index d8a8a12..92f9c37 100644 --- a/python3.spec +++ b/python3.spec @@ -1,4 +1,8 @@ -# 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) @@ -33,13 +37,13 @@ Summary(ru.UTF-8): Язык программирования очень высо 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 @@ -47,6 +51,7 @@ Patch3: %{name}-noarch_to_datadir.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 @@ -449,6 +454,7 @@ Przykłady te są dla Pythona 2.3.4, nie %{version}. %patch4 -p1 %patch5 -p1 %patch6 -p1 +%patch7 -p1 %{__rm} -r Modules/zlib %{__rm} -r Modules/expat @@ -619,6 +625,7 @@ rm -rf $RPM_BUILD_ROOT %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) @@ -1064,6 +1071,7 @@ rm -rf $RPM_BUILD_ROOT %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