1 Star 0 Fork 16

tzing_t/libvirt-python

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
spec-use-pytest-instead-of-nose.patch 934 Bytes
一键复制 编辑 原始数据 按行查看 历史
imxcc 提交于 2022-01-11 10:49 . spec: use pytest instead of nose
From 2b91386845357615bdef36ea597bd1a25b12987e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A1n=20Tomko?= <jtomko@redhat.com>
Date: Thu, 8 Apr 2021 16:20:46 +0200
Subject: [PATCH 2/6] spec: use pytest instead of nose
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Ján Tomko <jtomko@redhat.com>
---
libvirt-python.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libvirt-python.spec b/libvirt-python.spec
index 676b696..5cb671f 100644
--- a/libvirt-python.spec
+++ b/libvirt-python.spec
@@ -22,10 +22,10 @@ License: LGPLv2+
BuildRequires: libvirt-devel == %{version}
BuildRequires: python3-devel
%if 0%{?rhel} == 7
-BuildRequires: python36-nose
+BuildRequires: python36-pytest
BuildRequires: python36-lxml
%else
-BuildRequires: python3-nose
+BuildRequires: python3-pytest
BuildRequires: python3-lxml
%endif
BuildRequires: gcc
--
2.27.0
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/tzing_t/libvirt-python.git
git@gitee.com:tzing_t/libvirt-python.git
tzing_t
libvirt-python
libvirt-python
master

搜索帮助