!15 [sync] PR-12: delete pycache directory when uninstalling

From: @openeuler-sync-bot
Reviewed-by: @shinwell_hu
Signed-off-by: @shinwell_hu
This commit is contained in:
openeuler-ci-bot 2021-10-09 09:24:44 +00:00 committed by Gitee
commit e087c1c547

View File

@ -2,7 +2,7 @@
%global _empty_manifest_terminate_build 0 %global _empty_manifest_terminate_build 0
Name: python-sortedcontainers Name: python-sortedcontainers
Version: 2.4.0 Version: 2.4.0
Release: 2 Release: 3
Summary: Sorted Containers -- Sorted List, Sorted Dict, Sorted Set Summary: Sorted Containers -- Sorted List, Sorted Dict, Sorted Set
License: Apache 2.0 License: Apache 2.0
URL: https://github.com/grantjenks/python-sortedcontainers URL: https://github.com/grantjenks/python-sortedcontainers
@ -91,11 +91,15 @@ mv %{buildroot}/doclist.lst .
%files -n python3-sortedcontainers -f filelist.lst %files -n python3-sortedcontainers -f filelist.lst
%dir %{python3_sitelib}/* %dir %{python3_sitelib}/*
%dir %{python3_sitelib}/sortedcontainers/__pycache__
%files help -f doclist.lst %files help -f doclist.lst
%{_pkgdocdir} %{_pkgdocdir}
%changelog %changelog
* Sat Oct 09 2021 lingsheng <lingsheng@huawei.com> - 2.4.0-3
- delete pycache directory when uninstalling
* Sat Aug 21 2021 liyanan <liyanan32@huawei.com> - 2.4.0-2 * Sat Aug 21 2021 liyanan <liyanan32@huawei.com> - 2.4.0-2
- remove duplicate content - remove duplicate content