This commit is contained in:
parent
0818b3952b
commit
aae45ee479
@ -125,8 +125,7 @@ cp -a ../setools-%{version}%{?setools_pre_ver:-%{setools_pre_ver}} ../setools-%{
|
|||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# Remove CFLAGS=... for noarch packages (unneeded)
|
%py3_build
|
||||||
CFLAGS="%{optflags}" %{__python3} setup.py build
|
|
||||||
|
|
||||||
pushd ../setools-%{version}%{?setools_pre_ver:-%{setools_pre_ver}}-python2
|
pushd ../setools-%{version}%{?setools_pre_ver:-%{setools_pre_ver}}-python2
|
||||||
# Remove CFLAGS=... for noarch packages (unneeded)
|
# Remove CFLAGS=... for noarch packages (unneeded)
|
||||||
@ -141,7 +140,7 @@ pushd ../setools-%{version}%{?setools_pre_ver:-%{setools_pre_ver}}-python2
|
|||||||
popd
|
popd
|
||||||
|
|
||||||
rm -rf %{buildroot}%{_bindir}
|
rm -rf %{buildroot}%{_bindir}
|
||||||
%{__python3} setup.py install --root %{buildroot}
|
%py3_install
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%if %{?_with_check:1}%{!?_with_check:0}
|
%if %{?_with_check:1}%{!?_with_check:0}
|
||||||
|
Loading…
Reference in New Issue
Block a user