!4 [sync] PR-3: delete pycache and tests and v4 directory when uninstalling

From: @openeuler-sync-bot
Reviewed-by: @yangzhao_kl
Signed-off-by: @yangzhao_kl
This commit is contained in:
openeuler-ci-bot 2021-10-13 11:05:47 +00:00 committed by Gitee
commit 5f1b193a9a

View File

@ -1,7 +1,7 @@
%global _empty_manifest_terminate_build 0
Name: python-python-gitlab
Version: 2.6.0
Release: 1
Release: 2
Summary: Interact with GitLab API
License: LGPLv3
URL: https://github.com/python-gitlab/python-gitlab
@ -69,10 +69,22 @@ mv %{buildroot}/doclist.lst .
%files -n python3-python-gitlab -f filelist.lst
%dir %{python3_sitelib}/*
%dir %{python3_sitelib}/gitlab/__pycache__
%dir %{python3_sitelib}/gitlab/tests
%dir %{python3_sitelib}/gitlab/tests/__pycache__
%dir %{python3_sitelib}/gitlab/tests/objects
%dir %{python3_sitelib}/gitlab/tests/objects/__pycache__
%dir %{python3_sitelib}/gitlab/v4
%dir %{python3_sitelib}/gitlab/v4/__pycache__
%dir %{python3_sitelib}/gitlab/v4/objects
%dir %{python3_sitelib}/gitlab/v4/objects/__pycache__
%files help -f doclist.lst
%{_docdir}/*
%changelog
* Tue Oct 12 2021 caodongxia <caodongxia@huawei.com> - 2.6.0-2
- Delete pycache and tests and v4 directory when uninstalling
* Sat Feb 13 2021 Python_Bot <Python_Bot@openeuler.org>
- Package Spec generated