Switch 3.4 and 3.6
This commit is contained in:
parent
0fe7b8e184
commit
99f8b82d04
|
@ -1,7 +1,7 @@
|
||||||
# python3_pkgversion specifies the version of Python 3 in the distro. It can be
|
# python3_pkgversion specifies the version of Python 3 in the distro. It can be
|
||||||
# a specific version (e.g. 34 in Fedora EPEL7)
|
# a specific version (e.g. 36 in Fedora EPEL7)
|
||||||
%python3_pkgversion 34
|
%python3_pkgversion 36
|
||||||
%python3_other_pkgversion 36
|
%python3_other_pkgversion 34
|
||||||
|
|
||||||
# Set to /bin/true when not active to avoid %ifdefs and %{? in specfiles
|
# Set to /bin/true when not active to avoid %ifdefs and %{? in specfiles
|
||||||
%__python3_other /bin/true
|
%__python3_other /bin/true
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
%__python3 /usr/bin/python3.4
|
%__python3 /usr/bin/python3.6
|
||||||
|
|
||||||
%python3_sitelib %(%{__python3} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")
|
%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_sitearch %(%{__python3} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
%__python3_other /usr/bin/python3.6
|
%__python3_other /usr/bin/python3.4
|
||||||
|
|
||||||
%python3_other_sitelib %(%{__python3_other} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")
|
%python3_other_sitelib %(%{__python3_other} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")
|
||||||
%python3_other_sitearch %(%{__python3_other} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")
|
%python3_other_sitearch %(%{__python3_other} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
Name: python-rpm-macros
|
Name: python-rpm-macros
|
||||||
Version: 3
|
Version: 3
|
||||||
Release: 22%{?dist}
|
Release: 23%{?dist}
|
||||||
Summary: The unversioned Python RPM macros
|
Summary: The unversioned Python RPM macros
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
|
@ -67,6 +67,10 @@ install -m 644 %{SOURCE0} %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5}
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jan 31 2019 Miro Hrončok <mhroncok@redhat.com> - 3-23
|
||||||
|
- Make Python 3.6 the main Python 3 version
|
||||||
|
- Make Python 3.4 the other Python 3 version
|
||||||
|
|
||||||
* Sat Jul 14 2018 Tomas Orsava <torsava@redhat.com> - 3-22
|
* Sat Jul 14 2018 Tomas Orsava <torsava@redhat.com> - 3-22
|
||||||
- Move macros.pybytecompile in here from python3X-devel
|
- Move macros.pybytecompile in here from python3X-devel
|
||||||
- macros.pybytecompile: Detect Python version through sys.version_info instead
|
- macros.pybytecompile: Detect Python version through sys.version_info instead
|
||||||
|
|
Loading…
Reference in New Issue