Change requires from python3-nose to python3-pytest

This commit is contained in:
jxy_git 2022-06-27 14:43:35 +08:00
parent fd308940c7
commit a2ee54a252

View File

@ -16,7 +16,7 @@
Summary: oVirt Hosted Engine High Availability Manager
Name: ovirt-hosted-engine-ha
Version: 2.4.5
Release: 1
Release: 2
License: LGPLv2+
URL: http://www.ovirt.org
Source: http://resources.ovirt.org/pub/src/%{name}/%{name}-%{package_version}.tar.gz
@ -33,7 +33,7 @@ BuildRequires: python3
BuildRequires: python3-devel
BuildRequires: python3-mock
BuildRequires: python3-lxml
BuildRequires: python3-nose
BuildRequires: python3-pytest
BuildRequires: vdsm-client >= %{vdsm_version}
BuildRequires: vdsm-python >= %{vdsm_version}
BuildRequires: vdsm-jsonrpc >= %{vdsm_version}
@ -72,7 +72,7 @@ PYTHON=%{python_interpreter}
%make_build
%check
make test
/usr/bin/pytest
%install
make %{?_smp_mflags} install DESTDIR="%{buildroot}"
@ -157,5 +157,8 @@ fi
%systemd_postun_with_restart ovirt-ha-broker.service
%changelog
* Mon Jun 27 2022 jiangxinyu <jiangxinyu@kylinos.cn> - 2.4.5-2
- Change requires from python3-nose to python3-pytest
* Wed Sep 15 2021 wutao <wutao61@huawei.com> - 2.4.5-1
- Package init