fix packaging error, clear out the __pycache__ folders after yum remove

(cherry picked from commit e0d8a04f42d1d012255208503fe08af081dcad25)
This commit is contained in:
blublue 2021-06-03 15:24:06 +08:00 committed by openeuler-sync-bot
parent 8b99f21154
commit adbb046a1c

View File

@ -1,7 +1,7 @@
%global _empty_manifest_terminate_build 0 %global _empty_manifest_terminate_build 0
Name: python-absl-py Name: python-absl-py
Version: 0.10.0 Version: 0.10.0
Release: 1 Release: 2
Summary: Abseil Python Common Libraries, see https://github.com/abseil/abseil-py. Summary: Abseil Python Common Libraries, see https://github.com/abseil/abseil-py.
License: Apache 2.0 License: Apache 2.0
URL: https://github.com/abseil/abseil-py URL: https://github.com/abseil/abseil-py
@ -249,11 +249,14 @@ mv %{buildroot}/filelist.lst .
mv %{buildroot}/doclist.lst . mv %{buildroot}/doclist.lst .
%files -n python3-absl-py -f filelist.lst %files -n python3-absl-py -f filelist.lst
%dir %{python3_sitelib}/* %{python3_sitelib}/*
%files help -f doclist.lst %files help -f doclist.lst
%{_docdir}/* %{_docdir}/*
%changelog %changelog
* Sun Oct 04 2020 Python_Bot <Python_Bot@openeuler.org> * Wed Jun 02 2021 guoqinglan <guoqinglan@uniontech.com> - 0.10.0-2
- clear out the __pycache__ folders after yum remove
* Sun Oct 04 2020 Python_Bot <Python_Bot@openeuler.org> - 0.10.0-1
- Package Spec generated - Package Spec generated