diff --git a/epel-rpm-macros.spec b/epel-rpm-macros.spec index 2c6f76b..c7b4f42 100644 --- a/epel-rpm-macros.spec +++ b/epel-rpm-macros.spec @@ -1,6 +1,6 @@ Name: epel-rpm-macros Version: 8 -Release: 1 +Release: 2 Summary: Extra Packages for Enterprise Linux RPM macros Group: System Environment/Base @@ -47,6 +47,9 @@ install -Dpm 644 %{SOURCE1} \ %changelog +* Mon Sep 30 2019 Miro HronĨok - 8-2 +- Define %%python2 and %%python3 + * Wed Jun 5 2019 Stephen Smoogen - 8-1 - Make an initial macro set for 8. diff --git a/macros.epel-rpm-macros b/macros.epel-rpm-macros index aee816a..745946c 100644 --- a/macros.epel-rpm-macros +++ b/macros.epel-rpm-macros @@ -16,3 +16,6 @@ # Bash completions; not in bash to not intefere with install ordering %bash_completion_dir /usr/share/bash-completion/completions/ +# Use the non-underscored Python macros to refer to Python in spec, etc. +%python2 %__python2 +%python3 %__python3