|
|
|
@ -1,8 +1,8 @@
|
|
|
|
|
%global srcname typing_extensions
|
|
|
|
|
|
|
|
|
|
Name: python-typing-extensions
|
|
|
|
|
Version: 3.10.0.2
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Version: 4.2.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Python Typing Extensions
|
|
|
|
|
|
|
|
|
|
License: Python
|
|
|
|
@ -34,7 +34,7 @@ must be compatible with multiple Python versions or requires experimental types.
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
|
BuildRequires: python3-flit-core
|
|
|
|
|
BuildRequires: python3-test
|
|
|
|
|
BuildRequires: python3-pytest
|
|
|
|
|
BuildRequires: python3-pytest-xdist
|
|
|
|
@ -46,22 +46,29 @@ BuildRequires: python3-pytest-cov
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{srcname}-%{version}
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
%pyproject_buildrequires
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%py3_build
|
|
|
|
|
%pyproject_wheel
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%py3_install
|
|
|
|
|
%pyproject_install
|
|
|
|
|
|
|
|
|
|
%pyproject_save_files typing_extensions
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
%pytest src_py3/test_typing_extensions.py
|
|
|
|
|
%pytest
|
|
|
|
|
|
|
|
|
|
%files -n python3-typing-extensions
|
|
|
|
|
%files -n python3-typing-extensions -f %{pyproject_files}
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%doc CHANGELOG
|
|
|
|
|
%doc README.rst
|
|
|
|
|
%{python3_sitelib}/%{srcname}-*.egg-info/
|
|
|
|
|
%pycached %{python3_sitelib}/%{srcname}.py
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sat Apr 30 2022 Jonny Heggheim <hegjon@gmail.com> - 4.2.0-1
|
|
|
|
|
- Updated to version 4.2.0
|
|
|
|
|
|
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.10.0.2-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|