Add python36 as EPEL's other python

This commit is contained in:
Charalampos Stratakis 2017-12-20 23:06:54 +01:00
parent 6c4c3f3681
commit 6c29671c63
3 changed files with 6 additions and 3 deletions

View File

@ -1,7 +1,7 @@
# python3_pkgversion specifies the version of Python 3 in the distro. It can be
# a specific version (e.g. 34 in Fedora EPEL7)
%python3_pkgversion 34
#python3_other_pkgversion 35
%python3_other_pkgversion 36
# Set to /bin/true when not active to avoid %ifdefs and %{? in specfiles
%__python3_other /bin/true

View File

@ -1,5 +1,5 @@
%__python3 /usr/bin/python3.4
#__python3_other /usr/bin/python3.5
%__python3_other /usr/bin/python3.6
%python3_sitelib %(%{__python3} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")
%python3_sitearch %(%{__python3} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")

View File

@ -1,6 +1,6 @@
Name: python-rpm-macros
Version: 3
Release: 17%{?dist}
Release: 18%{?dist}
Summary: The unversioned Python RPM macros
License: MIT
@ -63,6 +63,9 @@ install -m 644 %{SOURCE0} %{SOURCE1} %{SOURCE2} %{SOURCE3} \
%changelog
* Wed Dec 20 2017 Charalampos Stratakis <cstratak@redhat.com> - 3-18
- Add python36 in EPEL 7.
* Mon Jan 23 2017 Michal Cyprian <mcyprian@redhat.com> - 3-17
- Add --no-deps option to py_install_wheel macros