diff --git a/python-stestr.spec b/python-stestr.spec index 218e1b956579b39f293aa6139eedb0ac22959521..274773bd1e4e93d17e6c7f56144b11d3bcc8e1a3 100644 --- a/python-stestr.spec +++ b/python-stestr.spec @@ -1,7 +1,7 @@ %global _empty_manifest_terminate_build 0 Name: python-stestr Version: 1.1.0 -Release: 2 +Release: 3 Summary: A test runner runner similar to testrepository License: Apache-2.0 URL: http://stestr.readthedocs.io/en/latest/ @@ -14,6 +14,7 @@ A test runner runner similar to testrepository %package -n python2-stestr Summary: A test runner runner similar to testrepository Provides: python2-stestr +BuildRequires: python2-pbr BuildRequires: python2-devel BuildRequires: python2-setuptools %description -n python2-stestr @@ -32,6 +33,8 @@ A test runner runner similar to testrepository %build %py2_build +ln -s stestr %{buildroot}/%{_bindir}/stestr-2 +ln -s stestr-2 %{buildroot}/%{_bindir}/stestr-%{python2_version} %install %py2_install @@ -68,6 +71,8 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Mon May 31 2021 huangtianhua +- Adds BuildRequires python2-pbr and make stestr-2 link * Wen May 26 2021 openstack-sig - Fix Provides * Sun May 16 2021 openstack-sig