diff --git a/python-mistune.spec b/python-mistune.spec index 0a6c31e2e3dd532c5e045329917378b912bb96d7..b110d8b55d863ed2f39ac39ee95669154900f705 100644 --- a/python-mistune.spec +++ b/python-mistune.spec @@ -1,12 +1,12 @@ Name: python-mistune Version: 0.8.3 -Release: 7 +Release: 10 Summary: A Python Markdown Parser -License: BSD +License: BSD-3-Clause URL: https://github.com/lepture/mistune Source0: https://github.com/lepture/mistune/archive/v%{version}.tar.gz -BuildRequires: python3-Cython python3-devel python3-nose python3-setuptools +BuildRequires: python3-Cython python3-devel python3-pytest python3-setuptools %description The python-mistune package is a fast yet powerful Python Markdown @@ -33,15 +33,24 @@ CFLAGS="$RPM_OPT_FLAGS" %{__python3} setup.py build %{_fixperms} %{buildroot}/* %check -%{__python3} setup.py test +/usr/bin/pytest %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 +* Wed May 11 2022 houyingchao - 0.8.3-10 +- License compliance rectification + +* Thu May 5 2022 caodongxia - 0.8.3-9 +- Remove dependency on python-nose + +* 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