From 6c29671c63275ece01c2be9e78467bdf283d458c Mon Sep 17 00:00:00 2001 From: Charalampos Stratakis Date: Wed, 20 Dec 2017 23:06:54 +0100 Subject: [PATCH] Add python36 as EPEL's other python --- macros.python-srpm | 2 +- macros.python3 | 2 +- python-rpm-macros.spec | 5 ++++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/macros.python-srpm b/macros.python-srpm index 03d26a3..6ca124f 100644 --- a/macros.python-srpm +++ b/macros.python-srpm @@ -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 diff --git a/macros.python3 b/macros.python3 index b7ebe72..d313235 100644 --- a/macros.python3 +++ b/macros.python3 @@ -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))") diff --git a/python-rpm-macros.spec b/python-rpm-macros.spec index dda6edf..6f3e30e 100644 --- a/python-rpm-macros.spec +++ b/python-rpm-macros.spec @@ -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 - 3-18 +- Add python36 in EPEL 7. + * Mon Jan 23 2017 Michal Cyprian - 3-17 - Add --no-deps option to py_install_wheel macros