commit 0bd0e16dc5f00a6e3dc67ef7466dee037597fcf1
Author: Leigh Scott <leigh123linux(a)googlemail.com>
Date: Sun Sep 29 10:56:59 2019 +0100
fix python macro pt2
rfpkg.spec | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/rfpkg.spec b/rfpkg.spec
index be3ace3..204cf5a 100644
--- a/rfpkg.spec
+++ b/rfpkg.spec
@@ -85,8 +85,8 @@ RPM Fusion utility for working with dist-git.
%build
%if %{with python2}
-%py_build
-%{__python} doc/rfpkg_man_page.py > rfpkg.1
+%py2_build
+%{__python2} doc/rfpkg_man_page.py > rfpkg.1
%else
%py3_build
%{__python3} doc/rfpkg_man_page.py > rfpkg.1
@@ -95,7 +95,7 @@ RPM Fusion utility for working with dist-git.
%install
%if %{with python2}
-%py_install
+%py2_install
%else
%py3_install
%endif