%global _empty_manifest_terminate_build 0 Name: python-pytest-httpbin Version: 2.0.0 Release: 1 Summary: Easily test your HTTP library against a local copy of httpbin. License: MIT URL: https://github.com/kevin1024/pytest-httpbin Source0: https://github.com/kevin1024/pytest-httpbin/archive/v2.0.0/pytest-httpbin-2.0.0.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pbr BuildRequires: python3-pip BuildRequires: python3-wheel BuildRequires: python3-hatchling %description Easily test your HTTP library against a local copy of httpbin. %package -n python3-pytest-httpbin Summary: Easily test your HTTP library against a local copy of httpbin Provides: python-pytest-httpbin BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-hatchling %description -n python3-pytest-httpbin Easily test your HTTP library against a local copy of httpbin. %package help Summary: Easily test your HTTP library against a local copy of httpbin Provides: python3-pytest-httpbin-doc %description help Easily test your HTTP library against a local copy of httpbin. %prep %autosetup -n pytest-httpbin-%{version} %build %pyproject_build %install %pyproject_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi %files -n python3-pytest-httpbin %doc README.md %{python3_sitelib}/pytest_httpbin %{python3_sitelib}/pytest_httpbin*.dist-info/ %files help %{_docdir}/* %changelog * Tue Oct 31 2023 Dongxing Wang - 2.0.0-1 - Init package.