34 lines
934 B
Diff
34 lines
934 B
Diff
|
|
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
|
||
|
|
|