Generalize a common format for exclude file

This commit is contained in:
wang--ge 2023-08-28 10:33:02 +08:00
parent 1087b5bb97
commit 5b3ab941df

View File

@ -1,7 +1,7 @@
%global _empty_manifest_terminate_build 0 %global _empty_manifest_terminate_build 0
Name: python-sphinx-argparse Name: python-sphinx-argparse
Version: 0.4.0 Version: 0.4.0
Release: 2 Release: 3
Summary: A sphinx extension that automatically documents argparse commands and options Summary: A sphinx extension that automatically documents argparse commands and options
License: MIT License: MIT
URL: https://github.com/ashb/sphinx-argparse URL: https://github.com/ashb/sphinx-argparse
@ -65,13 +65,16 @@ mv %{buildroot}/doclist.lst .
%files -n python3-sphinx-argparse -f filelist.lst %files -n python3-sphinx-argparse -f filelist.lst
%dir %{python3_sitelib}/* %dir %{python3_sitelib}/*
%exclude %{python3_sitelib}/test/__pycache__/__init__.cpython-310.opt-1.pyc %exclude %{python3_sitelib}/test/__pycache__/__init__.cpython-*.opt-1.pyc
%exclude %{python3_sitelib}/test/__pycache__/__init__.cpython-310.pyc %exclude %{python3_sitelib}/test/__pycache__/__init__.cpython-*.pyc
%files help -f doclist.lst %files help -f doclist.lst
%{_docdir}/* %{_docdir}/*
%changelog %changelog
* Mon Aug 28 2023 Ge Wang <wang__ge@126.com> - 0.4.0-3
- Generalize a common format for exclude file
* Mon Feb 27 2023 Ge Wang <wangge20@h-partners.com> - 0.4.0-2 * Mon Feb 27 2023 Ge Wang <wangge20@h-partners.com> - 0.4.0-2
- Remove reduncency cache file - Remove reduncency cache file