%global _empty_manifest_terminate_build 0 Name: python-pytest-xprocess Version: 0.22.2 Release: 1 Summary: Pytest plugin to manage external processes across test runs License: MIT URL: https://github.com/pytest-dev/pytest-xprocess/ Source0: https://files.pythonhosted.org/packages/52/43/e9149203fdb89a513aa87091e49ab7fb8412f85cccf741b413474bd603bf/pytest-xprocess-0.22.2.tar.gz Patch0: 0001-Modify-the-setup.py-file.patch BuildArch: noarch Requires: python3-pytest Requires: python3-psutil %description Experimental py.test <>_ plugin for managing processes across test runs. %package -n python3-pytest-xprocess Summary: A pytest plugin for managing processes across test runs. Provides: python-pytest-xprocess BuildRequires: python3-devel BuildRequires: python3-pip BuildRequires: python3-setuptools_scm BuildRequires: python3-setuptools %description -n python3-pytest-xprocess A pytest plugin for managing external processes across test runs. %package help Summary: Development documents and examples for pytest-xprocess Provides: python3-pytest-xprocess-doc %description help A pytest plugin for managing external processes across test runs. %prep %autosetup -p1 -n pytest-xprocess-%{version} %build %py3_build %install %py3_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 pushd %{buildroot} if [ -d usr/lib ]; then find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/lib64 ]; then find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/bin ]; then find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/sbin ]; then find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %files -n python3-pytest-xprocess -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Thu Feb 9 2023 wubijie - 0.22.2-1 - Update package to version 0.22.2 * Wed Dec 07 2022 chendexi - 0.21.0-1 - Upgrade package to version 0.21.0 * Mon Aug 01 2022 Python_Bot - 0.19.0-1 - Package Spec generated * Sat Jul 17 2021 yinyongkang - 0.17.1-1 - Init Package