remove dependency on python-nose

This commit is contained in:
caodongxia 2022-05-05 11:25:43 +08:00
parent 9fa94dbb63
commit 7b2741d67d

View File

@ -1,12 +1,12 @@
Name: python-mistune
Version: 0.8.3
Release: 8
Release: 9
Summary: A Python Markdown Parser
License: BSD
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,7 +33,7 @@ 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
@ -42,6 +42,9 @@ CFLAGS="$RPM_OPT_FLAGS" %{__python3} setup.py build
%{python3_sitearch}/__pycache__/mistune*
%changelog
* Thu May 5 2022 caodongxia <caodongxia@h-partners.com> - 0.8.3-9
- Remove dependency on python-nose
* Fri Apr 01 2022 yangping <yangping69@huawei.com> - 0.8.3-8
- Fix build error caused by py3.10+ wildcard