From 7b2741d67d1dcdf650934577770d158bde312229 Mon Sep 17 00:00:00 2001 From: caodongxia <315816521@qq.com> Date: Thu, 5 May 2022 11:25:43 +0800 Subject: [PATCH] remove dependency on python-nose --- python-mistune.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/python-mistune.spec b/python-mistune.spec index 727def4..fa5b740 100644 --- a/python-mistune.spec +++ b/python-mistune.spec @@ -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 - 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