Do not use platform_py_build macro when platform_python is not enabled. Because platform-python-rpm-macros is not installed.

This commit is contained in:
Jitka Plesnikova 2017-11-02 14:45:42 +01:00
parent 781a1de263
commit 4aac47e106

View File

@ -117,7 +117,9 @@ sed -i 's/\r//g' README.rst
%py3_build %py3_build
%endif # if with python3 %endif # if with python3
%if %{with platform_python}
%platform_py_build %platform_py_build
%endif
%install %install
%if %{with platform_python} %if %{with platform_python}
@ -216,7 +218,7 @@ popd
* Fri Dec 09 2016 Charalampos Stratakis <cstratak@redhat.com> - 4.2-2 * Fri Dec 09 2016 Charalampos Stratakis <cstratak@redhat.com> - 4.2-2
- Rebuild for Python 3.6 - Rebuild for Python 3.6
* Fri Jul 19 2016 Tom Callaway <spot@fedoraproject.org> - 4.2-1 * Fri Jul 29 2016 Tom Callaway <spot@fedoraproject.org> - 4.2-1
- 4.2 final - 4.2 final
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2-0.2.b1 * Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2-0.2.b1