Revert "Add bcond to disable tests"

This reverts commit fa92b49e14.

The build failed:
$ fedpkg local
error: line 73: Unclosed %if

Parsing specfile for used sources failed. Falling back to downloading all sources.
Not downloading already downloaded typing_extensions-4.2.0.tar.gz
error: line 73: Unclosed %if
error: query of specfile /home/jonny/fedora-scm/python-typing-extensions/python-typing-extensions.spec failed, can't parse

Could not execute local: Could not get n-v-r-e from /home/jonny/fedora-scm/python-typing-extensions/python-typing-extensions.spec
This commit is contained in:
Jonny Heggheim 2022-11-24 21:51:24 +01:00
parent fa92b49e14
commit e1693b14fe

View File

@ -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.2.0
Release: 5%{?dist}
@ -14,9 +11,7 @@ BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-test
%if %{without tests}
BuildRequires: python3-pytest
%end
%global _description %{expand:
@ -70,10 +65,8 @@ Summary: %{summary}
%pyproject_save_files typing_extensions
%if %{without tests}
%check
%pytest
%end
%files -n python3-typing-extensions -f %{pyproject_files}
%license LICENSE