!6 Generalize a common format for exclude file

From: @wang--ge 
Reviewed-by: @cherry530 
Signed-off-by: @cherry530
This commit is contained in:
openeuler-ci-bot 2023-08-28 03:06:17 +00:00 committed by Gitee
commit 30a7e1cd12
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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 <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
- Remove reduncency cache file