diff --git a/python-stestr.spec b/python-stestr.spec index f58cd350da34f5e5e82a77365a7699f00913f162..10bdf566439f53a6997e383da0ddb93c5cc96596 100644 --- a/python-stestr.spec +++ b/python-stestr.spec @@ -1,11 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-stestr -Version: 4.1.0 +Version: 4.2.0 Release: 1 Summary: A parallel Python test runner built around subunit License: Apache-2.0 URL: http://stestr.readthedocs.io/en/latest/ -Source0: https://files.pythonhosted.org/packages/fe/83/8c1929b09370801b398595a43216f15acfcafbb6195301b5ea62aa8b98d6/stestr-4.1.0.tar.gz +Source0: https://files.pythonhosted.org/packages/16/0e/bb15fca2e096494c81aa6f5b4d5184d226036b0936a343eb1a7d44eefa43/stestr-4.2.0.tar.gz BuildArch: noarch %description A parallel Python test runner built around subunit @@ -18,7 +18,7 @@ BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pbr BuildRequires: python3-pip -BuildRequires: python3-wheel +BuildRequires: python3-wheel python3-flit python3-hatchling python3-hatch-vcs # General requires BuildRequires: python3-future BuildRequires: python3-cliff @@ -52,46 +52,32 @@ A parallel Python test runner built around subunit %autosetup -n stestr-%{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 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 . %check # %{__python3} setup.py test -%files -n python3-stestr -f filelist.lst -%dir %{python3_sitelib}/* +%files -n python3-stestr -%files help -f doclist.lst +/usr/bin/stestr +%{python3_sitelib}/stestr +#%{python3_sitelib}/* + +%files help %{_docdir}/* %changelog +* Tue Jun 17 2025 chenwei - 4.2.0-1 +- Update package to version 4.2.0 + * Tue Mar 26 2024 GuoCe - 4.1.0-1 - Update package to version 4.1.0 diff --git a/stestr-4.1.0.tar.gz b/stestr-4.1.0.tar.gz deleted file mode 100644 index cda54c24a216a1243671233cbfa0f589ab1e6c18..0000000000000000000000000000000000000000 Binary files a/stestr-4.1.0.tar.gz and /dev/null differ diff --git a/stestr-4.2.0.tar.gz b/stestr-4.2.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..483855c997ba8d2838a986c37c3cdb8c082f5a6c Binary files /dev/null and b/stestr-4.2.0.tar.gz differ