remove pycache and tests dir when uninstall.

Signed-off-by: cherry530 <xuping33@huawei.com>
(cherry picked from commit 8aa61ce10b3b5febfa73bc03f3a3406cbd92cdc3)
This commit is contained in:
cherry530 2021-10-12 11:36:20 +08:00 committed by openeuler-sync-bot
parent c693ea8982
commit a442d9ac1e

View File

@ -1,7 +1,7 @@
%global _empty_manifest_terminate_build 0 %global _empty_manifest_terminate_build 0
Name: python-simplejson Name: python-simplejson
Version: 3.17.0 Version: 3.17.0
Release: 1 Release: 2
Summary: Simple, fast, extensible JSON encoder/decoder for Python Summary: Simple, fast, extensible JSON encoder/decoder for Python
License: MIT License License: MIT License
URL: https://github.com/simplejson/simplejson URL: https://github.com/simplejson/simplejson
@ -66,10 +66,16 @@ mv %{buildroot}/doclist.lst .
%files -n python3-simplejson -f filelist.lst %files -n python3-simplejson -f filelist.lst
%dir %{python3_sitearch}/* %dir %{python3_sitearch}/*
%dir %{python3_sitearch}/simplejson/__pycache__
%dir %{python3_sitearch}/simplejson/tests
%dir %{python3_sitearch}/simplejson/tests/__pycache__
%files help -f doclist.lst %files help -f doclist.lst
%{_pkgdocdir} %{_pkgdocdir}
%changelog %changelog
* Tue Oct 12 2021 xu_ping <xuping33@huawei.com> - 3.17.0-2
- delete pycache and tests directory when uninstalling
* Fri Jun 19 2020 Python_Bot <Python_Bot@openeuler.org> * Fri Jun 19 2020 Python_Bot <Python_Bot@openeuler.org>
- Package Spec generated - Package Spec generated