Miro Hrončok 2019-02-13 01:09:32 +01:00
parent 0818b3952b
commit aae45ee479

View File

@ -125,8 +125,7 @@ cp -a ../setools-%{version}%{?setools_pre_ver:-%{setools_pre_ver}} ../setools-%{
%build
# Remove CFLAGS=... for noarch packages (unneeded)
CFLAGS="%{optflags}" %{__python3} setup.py build
%py3_build
pushd ../setools-%{version}%{?setools_pre_ver:-%{setools_pre_ver}}-python2
# Remove CFLAGS=... for noarch packages (unneeded)
@ -141,7 +140,7 @@ pushd ../setools-%{version}%{?setools_pre_ver:-%{setools_pre_ver}}-python2
popd
rm -rf %{buildroot}%{_bindir}
%{__python3} setup.py install --root %{buildroot}
%py3_install
%check
%if %{?_with_check:1}%{!?_with_check:0}