delete pycache directory when uninstalling

(cherry picked from commit f7f4623430c5c2a316f15508d2a8c71a2c957c66)
This commit is contained in:
lingsheng 2021-10-09 11:44:51 +08:00 committed by openeuler-sync-bot
parent dd098f7123
commit 286f461c2f

View File

@ -2,7 +2,7 @@
%global _empty_manifest_terminate_build 0
Name: python-sortedcontainers
Version: 2.4.0
Release: 2
Release: 3
Summary: Sorted Containers -- Sorted List, Sorted Dict, Sorted Set
License: Apache 2.0
URL: https://github.com/grantjenks/python-sortedcontainers
@ -91,11 +91,15 @@ mv %{buildroot}/doclist.lst .
%files -n python3-sortedcontainers -f filelist.lst
%dir %{python3_sitelib}/*
%dir %{python3_sitelib}/sortedcontainers/__pycache__
%files help -f doclist.lst
%{_pkgdocdir}
%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
- remove duplicate content