From a1e02e0cacc5a0dc836017d2a6327720a06f7c8021ab6c310be0237776b207a3 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 8 Nov 2021 12:39:50 +0000 Subject: [PATCH] - add xml dependencies OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-junitxml?expand=0&rev=6 --- python-junitxml.changes | 5 +++++ python-junitxml.spec | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/python-junitxml.changes b/python-junitxml.changes index 2e83e39..ed16e50 100644 --- a/python-junitxml.changes +++ b/python-junitxml.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Nov 8 12:39:42 UTC 2021 - Dirk Müller + +- add xml dependencies + ------------------------------------------------------------------- Tue Jun 9 11:09:30 UTC 2020 - Marketa Calabkova diff --git a/python-junitxml.spec b/python-junitxml.spec index 7c1fbcf..adc4eb8 100644 --- a/python-junitxml.spec +++ b/python-junitxml.spec @@ -1,7 +1,7 @@ # # spec file for package python-junitxml # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -28,6 +28,10 @@ Source: https://files.pythonhosted.org/packages/source/j/junitxml/junitx # tests are failing Patch0: junitxml-tests.patch BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module xml} +%ifpython2 +Requires: python-xml +%endif BuildRequires: fdupes BuildArch: noarch %python_subpackages