Revert "Add bcond to disable tests"

This reverts commit b26bbf1213.

The tests does not run by default... *sigh*
epel9
Jonny Heggheim 2 years ago
parent b26bbf1213
commit 0b7cf422d2

@ -1,6 +1,3 @@
# when building packages with new Python we need to build typing-extension without tests before pytest is available
%bcond tests 1
Name: python-typing-extensions
Version: 4.4.0
Release: 1%{?dist}
@ -17,9 +14,7 @@ BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-test
%if %{without tests}
BuildRequires: python3-pytest
%endif
%global _description %{expand:
@ -74,10 +69,8 @@ cp -v %{SOURCE1} src/
%pyproject_save_files typing_extensions
%if %{without tests}
%check
%pytest
%endif
%files -n python3-typing-extensions -f %{pyproject_files}
%license LICENSE

Loading…
Cancel
Save