delete pycache directory when uninstalling

This commit is contained in:
lingsheng 2021-10-09 11:56:27 +08:00
parent 919c7fb1a7
commit ebc1a7e036

View File

@ -1,7 +1,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: 1 Release: 2
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
@ -67,11 +67,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-2
- delete pycache directory when uninstalling
* Tue Jul 27 2021 liyanan <liyanan32@huawei.com> - 2.4.0-1 * Tue Jul 27 2021 liyanan <liyanan32@huawei.com> - 2.4.0-1
- update to 2.4.0 - update to 2.4.0