From 1e3fa58a0784ff4d5cf8a0c5976d7bc6d658cfe5 Mon Sep 17 00:00:00 2001 From: starlet-dx <15929766099@163.com> Date: Fri, 24 Feb 2023 09:37:11 +0800 Subject: [PATCH] Fix installation conflicts between python3-jaraco-functools and python3-importlib-metadata (cherry picked from commit 97c88ddd960b6214ae0ad861a247b744888a067f) --- python-jaraco-functools.spec | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/python-jaraco-functools.spec b/python-jaraco-functools.spec index 526034e..0ea2fdb 100644 --- a/python-jaraco-functools.spec +++ b/python-jaraco-functools.spec @@ -1,7 +1,7 @@ %global _empty_manifest_terminate_build 0 Name: python-jaraco-functools Version: 3.5.2 -Release: 1 +Release: 2 Summary: Functools like those found in stdlib License: MIT URL: https://pypi.org/project/jaraco.functools/ @@ -72,13 +72,19 @@ popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . -%files -n python3-jaraco-functools -f filelist.lst -%dir %{python3_sitelib}/* +%files -n python3-jaraco-functools +%{python3_sitelib}/b* +%exclude %{python3_sitelib}/b/__pycache__/ +%{python3_sitelib}/jaraco.functools-%{version}-py%{python3_version}.egg-info/ +%{python3_sitelib}/jaraco/ %files help -f doclist.lst %{_docdir}/* %changelog +* Fri Feb 24 2023 yaoxin - 3.5.2-2 +- Fix installation conflicts between python3-jaraco-functools and python3-importlib-metadata + * Thu Dec 01 2022 liqiuyu - 3.5.2-1 - Update package to version 3.5.2