]> git.pld-linux.org Git - packages/python3.git/blobdiff - python3.spec
- md5
[packages/python3.git] / python3.spec
index 3da5ed6b3c1dcdd438d7b8c9034c9786ebb0ba60..a64e5e38f5972b7c2db6f14a656f43115d163adf 100644 (file)
@@ -5,6 +5,7 @@
 %bcond_without tkinter                 # disables tkinter module building
 %bcond_without tests                   # disables Python testing
 %bcond_with    verbose_tests           # runs tests in verbose mode
+%bcond_with    optimizations           # optimitations
 #
 # tests which will not work on 64-bit platforms
 %define                no64bit_tests   test_audioop test_rgbimg test_imageop
@@ -38,13 +39,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}.5
-Release:       3
+Version:       %{py_ver}.6
+Release:       1
 Epoch:         1
 License:       PSF
 Group:         Development/Languages/Python
 Source0:       https://www.python.org/ftp/python/%{version}/Python-%{version}.tar.xz
-# Source0-md5: 9f49654a4d6f733ff3284ab9d227e9fd
+# Source0-md5: c3f30a0aff425dda77d19e02f420d6ba
 Source1:       pyconfig.h.in
 Patch0:                %{name}-pythonpath.patch
 Patch1:                %{name}-ac_fixes.patch
@@ -531,7 +532,11 @@ fi
        --with-system-expat \
        --with-system-ffi \
        %{?with_system_mpdecimal:--with-system-libmpdec} \
-       --with-threads
+       --with-threads \
+%if %{with optimizations}
+       --enable-optimizations \
+       --with-lto
+%endif
 
 %{__make} 2>&1 | awk '
 BEGIN { fail = 0; logmsg = ""; }
This page took 0.026771 seconds and 4 git commands to generate.