From ac43b1155ca56fc5cc158f96bdd9c436581a501f Mon Sep 17 00:00:00 2001 From: wang--ge Date: Mon, 28 Aug 2023 10:34:02 +0800 Subject: [PATCH] Generalize a common format for exclude file --- python-sphinx-argparse.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/python-sphinx-argparse.spec b/python-sphinx-argparse.spec index 448c3ff..6c110c9 100644 --- a/python-sphinx-argparse.spec +++ b/python-sphinx-argparse.spec @@ -1,7 +1,7 @@ %global _empty_manifest_terminate_build 0 Name: python-sphinx-argparse Version: 0.4.0 -Release: 2 +Release: 3 Summary: A sphinx extension that automatically documents argparse commands and options License: MIT URL: https://github.com/ashb/sphinx-argparse @@ -65,13 +65,16 @@ mv %{buildroot}/doclist.lst . %files -n python3-sphinx-argparse -f filelist.lst %dir %{python3_sitelib}/* -%exclude %{python3_sitelib}/test/__pycache__/__init__.cpython-310.opt-1.pyc -%exclude %{python3_sitelib}/test/__pycache__/__init__.cpython-310.pyc +%exclude %{python3_sitelib}/test/__pycache__/__init__.cpython-*.opt-1.pyc +%exclude %{python3_sitelib}/test/__pycache__/__init__.cpython-*.pyc %files help -f doclist.lst %{_docdir}/* %changelog +* Mon Aug 28 2023 Ge Wang - 0.4.0-3 +- Generalize a common format for exclude file + * Mon Feb 27 2023 Ge Wang - 0.4.0-2 - Remove reduncency cache file -- Gitee