#23 Make %__python /usr/bin/python once again until we are ready
Merged 4 years ago by churchyard. Opened 4 years ago by churchyard.
rpms/ churchyard/python-rpm-macros noerror  into  master

file modified
+3 -2
@@ -5,8 +5,9 @@ 

  %__python2 /usr/bin/python2

  %__python3 /usr/bin/python3

  

- # This now errors unless redefined to user provided value

- %__python %{error:attempt to use unversioned python, define %%__python to /usr/bin/python2 or /usr/bin/python3 explicitly}

+ # For backwards compatibility only

+ # See the comments in https://src.fedoraproject.org/rpms/python-rpm-macros/pull-request/22

+ %__python /usr/bin/python

  

  

  # python3_pkgversion specifies the version of Python 3 in the distro.  It can be

file modified
+4 -1
@@ -1,6 +1,6 @@ 

  Name:           python-rpm-macros

  Version:        3

- Release:        43%{?dist}

+ Release:        44%{?dist}

  Summary:        The unversioned Python RPM macros

  

  License:        MIT
@@ -73,6 +73,9 @@ 

  

  

  %changelog

+ * Mon Jun 17 2019 Miro Hrončok <mhroncok@redhat.com> - 3-44

+ - Make %%__python /usr/bin/python once again until we are ready

+ 

  * Mon Jun 10 2019 Miro Hrončok <mhroncok@redhat.com> - 3-43

  - Define %%python_sitelib, %%python_sitearch, %%python_version, %%python_version_nodots,

    in rpm 4.15 those are no longer defined, the meaning of python is derived from %%__python.