!10 [sync] PR-9: Remove pycache and tests directory when uninstalling

From: @openeuler-sync-bot
Reviewed-by: @shinwell_hu
Signed-off-by: @shinwell_hu
This commit is contained in:
openeuler-ci-bot 2021-10-12 10:58:59 +00:00 committed by Gitee
commit d69115058a

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