%global pypi_name mockito Summary: Python spying framework inspired by Java's Mockito Name: python-mockito Version: 1.3.0 Release: 1%{?dist} # The toplevel LICENSE file is MIT. # Note: two files lack explicit license information: # mockito/signature.py # mockito/utils.py License: MIT URL: https://github.com/kaste/%{pypi_name}-python Source0: https://github.com/kaste/%{pypi_name}-python/archive/refs/tags/%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3dist(setuptools) %global _description %{expand: This spying framework allows to easily create mocks with a very readable syntax.} %description %{_description} %prep %autosetup -n %{pypi_name}-python-%{version} -p1 %build %{py3_build} %install %{py3_install} %package -n python3-mockito Summary: %{summary} %description -n python3-mockito %{_description} %files -n python3-mockito %doc AUTHORS %doc CHANGES.txt %doc README.rst %{python3_sitelib}/mockito/ %{python3_sitelib}/mockito-*.egg-info %license LICENSE %changelog * Thu Dec 16 2021 Fabrice BAUZAC 1.3.0-1 - Initial version.