%global _empty_manifest_terminate_build 0 %global pypi_name hypothesis-fspaths %global modulename hypothesis_fspaths Name: python-%{pypi_name} Version: 0.1 Release: 1 License: MIT URL: https://pypi.org/project/%{pypi_name} Source0: https://files.pythonhosted.org/packages/be/00/208e4c5be58fdc92aa7bfac82e94c524150183fc8b0ec995d70d6e0db43c/hypothesis-fspaths-0.1.tar.gz BuildArch: noarch Summary: Python library for generating filesystem paths %description Hypothesis extension for generating filesystem paths. Anything the built-in Python function open() accepts can be generated. %package -n python3-%{pypi_name} Summary: %{summary} BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pytest BuildRequires: python3-pytest-runner BuildRequires: python3-hypothesis %{?python_provide:%python_provide python3-%{pypi_name}} %description -n python3-%{pypi_name} Hypothesis extension for generating filesystem paths. Anything the built-in Python function open() accepts can be generated. %prep %autosetup -n %{pypi_name}-%{version} %build %py3_build %install %py3_install %check %{__python3} setup.py test %files -n python3-%{pypi_name} %license LICENSE %doc README.rst %{python3_sitelib}/%{modulename}-%{version}-py%{python3_version}.egg-info %{python3_sitelib}/%{modulename}.py %{python3_sitelib}/__pycache__/hypothesis_fspaths.*.py* %changelog * Fri Jun 16 2023 Dongxing Wang - 0.1-1 - Init package to version 0.1 for vistir test