Updated to 3.4.5, added more macros

This commit is contained in:
Denis Silakov 2016-07-07 15:13:03 +03:00
parent 69cc35aad3
commit d42a8be7b2
3 changed files with 14 additions and 3 deletions

View file

@ -16,5 +16,5 @@ removed_sources:
python-3.4.0-docs-html.tar.bz2: d6e8f45219353b128f002f3a7311ec4e08c0ca49
python-3.4.1-docs-html.tar.bz2: acc5911f0e41774788121064e004941e6090542a
sources:
Python-3.4.3.tar.xz: 7ca5cd664598bea96eec105aa6453223bb6b4456
Python-3.4.5.tar.xz: 882e83e0286b253ee651aa3f9a5d27ebc46e6632
python-3.4.2-docs-html.tar.bz2: 29fd43d785d545959b744ba44c9cbe314c12804b

View file

@ -8,3 +8,14 @@
%py3_puresitedir %python3_sitelib
%py3_incdir %(%{__python3} -c 'from distutils.sysconfig import get_python_inc; print(get_python_inc())' 2>/dev/null || echo PYTHON-INCLUDEDIR-NOT-FOUND)
%py3dir %{_builddir}/python3-%{name}-%{version}-%{release}
%py_setup setup.py
%py3_shbang_opts -s
%py3_build() %{expand:\
CFLAGS="%{optflags}" %{__python3} %{py_setup} %{?py_setup_args} build --executable="%{__python3} %{py3_shbang_opts}" %{?1}\
}
%py3_install() %{expand:\
CFLAGS="%{optflags}" %{__python3} %{py_setup} %{?py_setup_args} install -O1 --skip-build --root %{buildroot} %{?1}\
}

View file

@ -33,8 +33,8 @@
Summary: An interpreted, interactive object-oriented programming language
Name: python3
Version: 3.4.3
Release: 4
Version: 3.4.5
Release: 1
License: Modified CNRI Open Source License
Group: Development/Python