Set %__python3 to /usr/bin/python3.4

This commit is contained in:
Orion Poplawski 2016-01-25 16:55:23 -07:00
parent 0795b1d7b1
commit cc0b15603c
2 changed files with 7 additions and 2 deletions

View File

@ -1,4 +1,6 @@
%__python3 /usr/bin/python3
%__python3 /usr/bin/python3.4
#__python3_other /usr/bin/python3.5
%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))")
%python3_version %(%{__python3} -c "import sys; sys.stdout.write(sys.version[:3])")

View File

@ -1,6 +1,6 @@
Name: python-rpm-macros
Version: 3
Release: 6%{?dist}
Release: 6%{?dist}.1
Summary: The unversioned Python RPM macros
License: MIT
@ -61,6 +61,9 @@ install -m 644 %{SOURCE0} %{SOURCE1} %{SOURCE2} %{SOURCE3} \
%changelog
* Mon Jan 25 2016 Orion Poplawski <orion@cora.nwra.com> 3-6.1
- Set %%__python3 to /usr/bin/python3.4
* Thu Jan 14 2016 Orion Poplawski <orion@cora.nwra.com> 3-6
- Fix typo in %%python_provide