Name: python-requests-mock Version: 1.9.3 Release: 1 Summary: A requests mocking tool for python License: Apache-2.0 URL: https://github.com/jamielennox/requests-mock Source0: https://files.pythonhosted.org/packages/71/1e/1680394d9ad02bf7fb34f6e161b6eff62c972f2c1e647389ce2d324b3c25/requests-mock-1.9.3.tar.gz Patch0: 0002-Use-system-urllib3-package.patch Patch1: 0003-Allow-skipping-purl-tests-if-it-is-not-present.patch BuildArch: noarch %description requests-mock provides a simple way to do HTTP mocking at the python-requests layer. %package -n python%{python3_pkgversion}-requests-mock Summary: A requests mocking tool for python Requires: python%{python3_pkgversion}-requests Requires: python%{python3_pkgversion}-six BuildRequires: python%{python3_pkgversion}-requests BuildRequires: python%{python3_pkgversion}-six BuildRequires: python%{python3_pkgversion}-urllib3 BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-pbr BuildRequires: python%{python3_pkgversion}-setuptools %description -n python%{python3_pkgversion}-requests-mock requests-mock provides a simple way to do HTTP mocking at the python-requests layer. %prep %setup -q -n requests-mock-%{version} %patch0 -p1 %patch1 -p1 # Remove bundled egg-info rm -rf requests_mock.egg-info %build %py3_build %install %py3_install %files -n python%{python3_pkgversion}-requests-mock %license LICENSE %doc README.rst ChangeLog %{python3_sitelib}/requests_mock %{python3_sitelib}/requests_mock-%{version}-py%{python3_version}.egg-info %changelog * Tue Jun 07 2022 liukuo - 1.9.3-1 - Update package version * Wed Jan 20 2021 zhangy1317 - Add BuildRequires * Thu Dec 31 2020 Python_Bot - Package Spec generated