From 286f461c2fd6a3dfbf7851b47bcff3337cc03310 Mon Sep 17 00:00:00 2001 From: lingsheng Date: Sat, 9 Oct 2021 11:44:51 +0800 Subject: [PATCH] delete pycache directory when uninstalling (cherry picked from commit f7f4623430c5c2a316f15508d2a8c71a2c957c66) --- python-sortedcontainers.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/python-sortedcontainers.spec b/python-sortedcontainers.spec index 655056b..6454e07 100644 --- a/python-sortedcontainers.spec +++ b/python-sortedcontainers.spec @@ -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 - 2.4.0-3 +- delete pycache directory when uninstalling + * Sat Aug 21 2021 liyanan - 2.4.0-2 - remove duplicate content