diff --git a/pytest-testmon-2.0.6.tar.gz b/pytest-testmon-2.0.6.tar.gz deleted file mode 100644 index 54dfcefdb3670030efce9fd74ae5d6e07e5118ba..0000000000000000000000000000000000000000 Binary files a/pytest-testmon-2.0.6.tar.gz and /dev/null differ diff --git a/pytest-testmon-2.0.8.tar.gz b/pytest-testmon-2.0.8.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..d647985ea8463a6f6b36da4dbd277cb2ed3315ca Binary files /dev/null and b/pytest-testmon-2.0.8.tar.gz differ diff --git a/python-pytest-testmon.spec b/python-pytest-testmon.spec index 422022e6af454c7ae1ea6ef410d7229fc12ab4e3..7fc4b897341c31cae3531562c4e3d25ec276e11c 100644 --- a/python-pytest-testmon.spec +++ b/python-pytest-testmon.spec @@ -1,11 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-pytest-testmon -Version: 2.0.6 +Version: 2.0.8 Release: 1 Summary: selects tests affected by changed files and methods License: AGPL-3.0-only URL: https://github.com/tarpas/pytest-testmon -Source0: https://github.com/tarpas/pytest-testmon/archive/refs/tags/v2.0.6.tar.gz#/pytest-testmon-%{version}.tar.gz +Source0: https://files.pythonhosted.org/packages/8b/3d/5b490b8ad6778783cf4fc216cbda5a99356910f46ba1c89be3b150c222b4/pytest-testmon-2.0.8.tar.gz BuildArch: noarch %description @@ -14,6 +14,7 @@ This is a pytest plug-in which automatically selects and re-executes only tests %package -n python3-pytest-testmon Summary: selects tests affected by changed files and methods Provides: python-pytest-testmon = %{version}-%{release} +BuildRequires: python-pip python-wheel BuildRequires: python3-devel BuildRequires: zlib >= 1.2.11 BuildRequires: python3-setuptools @@ -32,10 +33,10 @@ This is a pytest plug-in which automatically selects and re-executes only tests %autosetup -n pytest-testmon-%{version} %build -%py3_build +%pyproject_build %install -%py3_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 @@ -44,34 +45,17 @@ if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi if [ -f README.rst ]; then cp -af README.rst %{buildroot}/%{_pkgdocdir}; fi if [ -f README.md ]; then cp -af README.md %{buildroot}/%{_pkgdocdir}; fi if [ -f README.txt ]; then cp -af README.txt %{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-testmon -f filelist.lst -%dir %{python3_sitelib}/* - -%files help -f doclist.lst + +%files -n python3-pytest-testmon +%{python3_sitelib}/* + +%files help %{_docdir}/* %changelog +* Fri Jun 09 2023 wangjunqi - 2.0.8-1 +- Update package to version 2.0.8 + * Mon May 08 2023 wubijie - 2.0.6-1 - Update package to version 2.0.6