!13 fix python version to python3_sitelib about remove tests

From: @fuowang 
Reviewed-by: @xiyuanwang 
Signed-off-by: @xiyuanwang
This commit is contained in:
openeuler-ci-bot 2022-07-07 03:35:26 +00:00 committed by Gitee
commit e07e45947c
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: openstack-kolla
Version: 9.4.0
Release: 1
Release: 2
Summary: Build OpenStack container images
License: Apache-2.0
@ -58,7 +58,7 @@ cp -vr docker/ %{buildroot}%{_datadir}/kolla
install -p -D -m 644 setup.cfg %{buildroot}%{_datadir}/kolla/setup.cfg
# remove tests
rm -fr %{buildroot}%{python2_sitelib}/kolla/tests
rm -fr %{buildroot}%{python3_sitelib}/kolla/tests
# remove doc
rm -fr %{buildroot}%{_datadir}/kolla/doc
@ -86,6 +86,12 @@ rm -fr %{buildroot}%{_datadir}/kolla/etc_examples
%{_sysconfdir}/kolla
%changelog
* Wed Jul 06 2022 wangshuo <wangshuo@kylinos.cn> 9.4.0-2
- Type: enhancement
- ID: NA
- SUG: NA
- DESC: fix python version to python3_sitelib about remove tests
* Tue Nov 02 2021 OpenStack-Sig <openstack@openeuler.org> 9.4.0-1
- Init Train version