Update python-psutil.spec
Skip checks if running flatpak build.
This commit is contained in:
parent
46402c3c18
commit
a14a3d77e9
@ -69,10 +69,14 @@ done
|
||||
%install
|
||||
%py3_install
|
||||
|
||||
# Ignore tests when building with flatpak-module-tools to avoid build failures
|
||||
# when building inside VMs or containers. Flatpaks would usually build this package
|
||||
# as dependency from stable and already tested branches.
|
||||
|
||||
%if ! 0%{?flatpak}
|
||||
%check
|
||||
make test CI_TESTING=1 PYTHON=%{__python3} PYTHONPATH=%{buildroot}/%{python3_sitearch}
|
||||
|
||||
%endif
|
||||
|
||||
%files -n python%{python3_pkgversion}-%{srcname}
|
||||
%license LICENSE
|
||||
|
Loading…
Reference in New Issue
Block a user