From 52aa2cb0c36614975f0857166692be2fd490f01c Mon Sep 17 00:00:00 2001 From: huangtianhua Date: Thu, 12 Aug 2021 11:31:20 +0000 Subject: [PATCH] Adds ln stestr-3 and stestr-%{python3_version} back The command 'stestr-3' is missed after upgrade in https://gitee.com/src-openeuler/python-stestr/pulls/12 This adds the lns back. --- stestr.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/stestr.spec b/stestr.spec index 7fd936d..54e2d99 100644 --- a/stestr.spec +++ b/stestr.spec @@ -1,7 +1,7 @@ %global _empty_manifest_terminate_build 0 Name: python-stestr Version: 3.1.0 -Release: 1 +Release: 2 Summary: A parallel Python test runner built around subunit License: Apache-2.0 URL: http://stestr.readthedocs.io/en/latest/ @@ -56,6 +56,8 @@ A parallel Python test runner built around subunit %install %py3_install +ln -s stestr %{buildroot}/%{_bindir}/stestr-3 +ln -s stestr-3 %{buildroot}/%{_bindir}/stestr-%{python3_version} install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi @@ -88,11 +90,15 @@ mv %{buildroot}/doclist.lst . %files -n python3-stestr -f filelist.lst %dir %{python3_sitelib}/* +%{_bindir}/stestr* %files help -f doclist.lst %{_docdir}/* %changelog +* Thu Aug 12 2021 huangtianhua - 3.1.0-2 +- Adds ln stestr-3 and stestr-%{python3_version} + * Tue Aug 10 2021 OpenStack_SIG - 3.1.0-1 - update to 3.1.0 -- Gitee