Solve the problem that python-mistune compilation depends on the python3-nose decay package

This commit is contained in:
houyingchao 2022-01-08 14:49:50 +08:00
parent 9e22794fa2
commit 71d8a112f8

View File

@ -1,12 +1,12 @@
Name: python-mistune
Version: 0.8.3
Release: 7
Release: 8
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-setuptools
%description
The python-mistune package is a fast yet powerful Python Markdown
@ -33,7 +33,6 @@ CFLAGS="$RPM_OPT_FLAGS" %{__python3} setup.py build
%{_fixperms} %{buildroot}/*
%check
%{__python3} setup.py test
%files -n python3-mistune
%doc LICENSE README.rst
@ -42,6 +41,9 @@ CFLAGS="$RPM_OPT_FLAGS" %{__python3} setup.py build
%{python3_sitearch}/__pycache__/mistune*
%changelog
* Sat Jan 08 2022 houyingchao <houyingchao@huawei.com> - 0.8.3-8
- Solve the problem that python-mistune compilation depends on the python3-nose decay package
* Thu Jul 22 2021 wangyue <wangyue92@huawei.com> - 0.8.3-7
- Remove python2-mistune subpackage and remove python2 related buildrequire