From 09887093c3d59983d5a0c2c381dbf20980ff2074 Mon Sep 17 00:00:00 2001 From: penelope Date: Fri, 1 Apr 2022 17:15:31 +0800 Subject: [PATCH] fix build error caused by py3.10+ wildcard --- python-mistune.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/python-mistune.spec b/python-mistune.spec index 0a6c31e..727def4 100644 --- a/python-mistune.spec +++ b/python-mistune.spec @@ -1,6 +1,6 @@ Name: python-mistune Version: 0.8.3 -Release: 7 +Release: 8 Summary: A Python Markdown Parser License: BSD URL: https://github.com/lepture/mistune @@ -38,10 +38,13 @@ CFLAGS="$RPM_OPT_FLAGS" %{__python3} setup.py build %files -n python3-mistune %doc LICENSE README.rst %{python3_sitearch}/mistune.* -%{python3_sitearch}/mistune-%{version}-py?.?.egg-info +%{python3_sitearch}/mistune-%{version}-py%{python3_version}.egg-info %{python3_sitearch}/__pycache__/mistune* %changelog +* Fri Apr 01 2022 yangping - 0.8.3-8 +- Fix build error caused by py3.10+ wildcard + * Thu Jul 22 2021 wangyue - 0.8.3-7 - Remove python2-mistune subpackage and remove python2 related buildrequire -- Gitee