|
|
@ -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
|
|
|
|
Name: python-typing-extensions
|
|
|
|
Version: 4.4.0
|
|
|
|
Version: 4.4.0
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
@ -17,9 +14,7 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: python3-test
|
|
|
|
BuildRequires: python3-test
|
|
|
|
%if %{without tests}
|
|
|
|
|
|
|
|
BuildRequires: python3-pytest
|
|
|
|
BuildRequires: python3-pytest
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
%global _description %{expand:
|
|
|
@ -74,10 +69,8 @@ cp -v %{SOURCE1} src/
|
|
|
|
%pyproject_save_files typing_extensions
|
|
|
|
%pyproject_save_files typing_extensions
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if %{without tests}
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
%pytest
|
|
|
|
%pytest
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n python3-typing-extensions -f %{pyproject_files}
|
|
|
|
%files -n python3-typing-extensions -f %{pyproject_files}
|
|
|
|
%license LICENSE
|
|
|
|
%license LICENSE
|
|
|
|