Delete pycache and tests and v4 directory when uninstalling
(cherry picked from commit c3e58a6da986fedc55890e84b98fa9efcccdb6cc)
This commit is contained in:
parent
bec107d99c
commit
477b0011b1
@ -1,7 +1,7 @@
|
|||||||
%global _empty_manifest_terminate_build 0
|
%global _empty_manifest_terminate_build 0
|
||||||
Name: python-python-gitlab
|
Name: python-python-gitlab
|
||||||
Version: 2.6.0
|
Version: 2.6.0
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Interact with GitLab API
|
Summary: Interact with GitLab API
|
||||||
License: LGPLv3
|
License: LGPLv3
|
||||||
URL: https://github.com/python-gitlab/python-gitlab
|
URL: https://github.com/python-gitlab/python-gitlab
|
||||||
@ -69,10 +69,22 @@ mv %{buildroot}/doclist.lst .
|
|||||||
|
|
||||||
%files -n python3-python-gitlab -f filelist.lst
|
%files -n python3-python-gitlab -f filelist.lst
|
||||||
%dir %{python3_sitelib}/*
|
%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
|
%files help -f doclist.lst
|
||||||
%{_docdir}/*
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%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>
|
* Sat Feb 13 2021 Python_Bot <Python_Bot@openeuler.org>
|
||||||
- Package Spec generated
|
- Package Spec generated
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user