#40 EPEL 6: Define %python
Closed 3 months ago by churchyard. Opened 7 months ago by churchyard.
rpms/ churchyard/python-rpm-macros el6-python-macro  into  el6

file modified
+3

@@ -1,3 +1,6 @@ 

+ # use the non-underscored macros to refer to Python in spec, etc.

+ %python %__python

+ 

  %py_setup setup.py

  %py_shbang_opts -s

  

file modified
+4 -1

@@ -1,6 +1,6 @@ 

  Name:           python-rpm-macros

  Version:        3

- Release:        15%{?dist}

+ Release:        16%{?dist}

  Summary:        The unversioned Python RPM macros

  

  License:        MIT

@@ -65,6 +65,9 @@ 

  

  

  %changelog

+ * Sat Dec 28 2019 Miro Hrončok <mhroncok@redhat.com> - 3-16

+ - Define %%python

+ 

  * Fri Sep 27 2019 Miro Hrončok <mhroncok@redhat.com> - 3-15

  - Define %%python2 and %%python3

  - Drop hardcoded python2 from %%py_build

no initial comment

The change looks reasonable.
However, ideally this should be reviewed by an experienced EPEL packager who has an idea of what could go wrong. I'm definitely not familiar enough with EPEL, and don't particularly want to become familiar enough.

i found even RHEL 7 packages that break if you define %python. Maybe we should not do this at this point?

Pull-Request has been closed by churchyard

3 months ago
Metadata