diff --git a/os-testr-0.8.0.tar.gz b/os-testr-0.8.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..131e035dd33b5009930994abafe9d773f448a565 Binary files /dev/null and b/os-testr-0.8.0.tar.gz differ diff --git a/os-testr-2.0.0.tar.gz b/os-testr-2.0.0.tar.gz deleted file mode 100755 index acb577a57a621d90daf29591443f25ae5bc523ef..0000000000000000000000000000000000000000 Binary files a/os-testr-2.0.0.tar.gz and /dev/null differ diff --git a/python-os-testr.spec b/python-os-testr.spec old mode 100755 new mode 100644 index 03711117256cf3d3b1811638fee8ac47629be5ec..720f0d1f0032830c2674091071138c91b7c94111 --- a/python-os-testr.spec +++ b/python-os-testr.spec @@ -1,52 +1,82 @@ %global _empty_manifest_terminate_build 0 -%global common_desc \ -ostestr is a testr wrapper that uses subunit-trace for output and builds \ -some helpful extra functionality around testr. Name: python-os-testr -Version: 2.0.0 -Release: 3 +Version: 0.8.0 +Release: 2 Summary: A testr wrapper to provide functionality for OpenStack projects License: Apache-2.0 -URL: https://docs.openstack.org/os-testr/latest/ -Source0: https://files.pythonhosted.org/packages/ba/32/d57cba22c9e8f1a8783ee2691580faf4fd4505222bac30140a9bec229467/os-testr-2.0.0.tar.gz +URL: http://docs.openstack.org/developer/os-testr/ +Source0: https://files.pythonhosted.org/packages/26/93/fc660b2170c9f49a6d1855d14233596d6000be16c270f3b9ad9550923ed1/os-testr-0.8.0.tar.gz BuildArch: noarch - -Requires: python3-pbr -Requires: python3-stestr -Requires: python3-subunit -Requires: python3-testtools - - %description -%{common_desc} +======== +os-testr +======== +A testr wrapper to provide functionality for OpenStack projects. +Features +-------- +* ``ostestr``: a testr wrapper that uses subunit-trace for output and builds + some helpful extra functionality around testr +* ``subunit-trace``: an output filter for a subunit stream which provides + useful information about the run +* ``subunit2html``: generates a test results html page from a subunit stream +* ``generate-subunit``: generate a subunit stream for a single test -%package -n python3-os-testr +%package -n python2-os-testr Summary: A testr wrapper to provide functionality for OpenStack projects -Provides: python-os-testr -BuildRequires: python3-devel -BuildRequires: python3-setuptools -BuildRequires: python3-pip -BuildRequires: python3-pbr -%description -n python3-os-testr +Provides: python2-os-testr +BuildRequires: python2-devel +BuildRequires: python2-setuptools +BuildRequires: python2-pbr +Requires: python2-pbr +Requires: python2-babel +Requires: python2-testrepository +Requires: python2-subunit +Requires: python2-testtools +%description -n python2-os-testr +======== +os-testr +======== +A testr wrapper to provide functionality for OpenStack projects. +Features +-------- + +* ``ostestr``: a testr wrapper that uses subunit-trace for output and builds + some helpful extra functionality around testr +* ``subunit-trace``: an output filter for a subunit stream which provides + useful information about the run +* ``subunit2html``: generates a test results html page from a subunit stream +* ``generate-subunit``: generate a subunit stream for a single test %package help Summary: Development documents and examples for os-testr -Provides: python3-os-testr-doc +Provides: python2-os-testr-doc %description help -%{common_desc} +======== +os-testr +======== +A testr wrapper to provide functionality for OpenStack projects. + +Features +-------- +* ``ostestr``: a testr wrapper that uses subunit-trace for output and builds + some helpful extra functionality around testr +* ``subunit-trace``: an output filter for a subunit stream which provides + useful information about the run +* ``subunit2html``: generates a test results html page from a subunit stream +* ``generate-subunit``: generate a subunit stream for a single test %prep -%autosetup -n os-testr-2.0.0 +%autosetup -n os-testr-0.8.0 %build -%py3_build +%py2_build %install -%py3_install +%py2_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 @@ -73,14 +103,14 @@ popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . -%files -n python3-os-testr -f filelist.lst -%dir %{python3_sitelib}/* +%files -n python2-os-testr -f filelist.lst +%dir %{python2_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog -* Sat Jan 30 2021 zhangy -- Add buildrequires -* Thu Nov 19 2020 Python_Bot +* Sat May 29 2021 huangtianhua +- Adds BuildRequires python2-pbr to make obs success +* Mon May 10 2021 OpenStack_SIG - Package Spec generated