!7 remove dependency on python-nose
From: @caodongxia Reviewed-by: @yangzhao_kl Signed-off-by: @yangzhao_kl
This commit is contained in:
commit
47089581ed
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user