From 3ccee15116f96a28a7792988d38a6f651dd9bbe5 Mon Sep 17 00:00:00 2001 From: wang--ge Date: Mon, 28 Aug 2023 10:22:40 +0800 Subject: [PATCH] Generalize a common format for exclude file (cherry picked from commit 31be79a55f25cef74c9a1d619f53aad2aa67c59e) --- python-3parclient.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/python-3parclient.spec b/python-3parclient.spec index 03ae2ad..31bceb1 100644 --- a/python-3parclient.spec +++ b/python-3parclient.spec @@ -1,7 +1,7 @@ %global _empty_manifest_terminate_build 0 Name: python-3parclient Version: 4.2.12 -Release: 2 +Release: 3 Summary: HPE Alletra 9000 and HPE Primera and HPE 3PAR HTTP REST Client License: Apache-2.0 URL: http://packages.python.org/python-3parclient @@ -85,13 +85,16 @@ mv %{buildroot}/doclist.lst . %files -n python3-3parclient -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 - 4.2.12-3 +- Generalize a common format for exclude file + * Mon Feb 27 2023 Ge Wang - 4.2.12-2 - Remove redundency cache file