From ebc1a7e0365c946736e1a110d3598ec29f7bbed5 Mon Sep 17 00:00:00 2001 From: lingsheng Date: Sat, 9 Oct 2021 11:56:27 +0800 Subject: [PATCH] delete pycache directory when uninstalling --- python-sortedcontainers.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/python-sortedcontainers.spec b/python-sortedcontainers.spec index cd5c9a0..2c946bd 100644 --- a/python-sortedcontainers.spec +++ b/python-sortedcontainers.spec @@ -1,7 +1,7 @@ %global _empty_manifest_terminate_build 0 Name: python-sortedcontainers Version: 2.4.0 -Release: 1 +Release: 2 Summary: Sorted Containers -- Sorted List, Sorted Dict, Sorted Set License: Apache 2.0 URL: https://github.com/grantjenks/python-sortedcontainers @@ -67,11 +67,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 - 2.4.0-2 +- delete pycache directory when uninstalling + * Tue Jul 27 2021 liyanan - 2.4.0-1 - update to 2.4.0