Miro Hrončok 2019-02-12 16:03:25 +01:00
parent 019bbcf61f
commit 6fdd2fc471

View File

@ -122,7 +122,7 @@ exit 1
CFLAGS="$RPM_OPT_FLAGS" %{__python2} setup.py build CFLAGS="$RPM_OPT_FLAGS" %{__python2} setup.py build
%endif %endif
%if %{with_python3} %if %{with_python3}
CFLAGS="$RPM_OPT_FLAGS" %{__python3} setup.py build %py3_build
%endif %endif
%install %install
@ -130,7 +130,7 @@ CFLAGS="$RPM_OPT_FLAGS" %{__python3} setup.py build
%{__python2} setup.py install --skip-build --root=%{buildroot} %{__python2} setup.py install --skip-build --root=%{buildroot}
%endif %endif
%if %{with_python3} %if %{with_python3}
%{__python3} setup.py install --skip-build --root=%{buildroot} %py3_install
%endif %endif
%check %check