From 4aac47e106e575c9abbe3aed94824fe2f860d0d0 Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Thu, 2 Nov 2017 14:45:42 +0100 Subject: [PATCH] Do not use platform_py_build macro when platform_python is not enabled. Because platform-python-rpm-macros is not installed. --- python-coverage.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/python-coverage.spec b/python-coverage.spec index 5ac69b5..da4bc58 100644 --- a/python-coverage.spec +++ b/python-coverage.spec @@ -117,7 +117,9 @@ sed -i 's/\r//g' README.rst %py3_build %endif # if with python3 +%if %{with platform_python} %platform_py_build +%endif %install %if %{with platform_python} @@ -216,7 +218,7 @@ popd * Fri Dec 09 2016 Charalampos Stratakis - 4.2-2 - Rebuild for Python 3.6 -* Fri Jul 19 2016 Tom Callaway - 4.2-1 +* Fri Jul 29 2016 Tom Callaway - 4.2-1 - 4.2 final * Tue Jul 19 2016 Fedora Release Engineering - 4.2-0.2.b1