From 1db11486d12f9c6976c7f0daa3155f95ebb8acfa443d39dd5b84e0b92b5db3eb Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 13:26:17 +0000 Subject: [PATCH] Remove superfluous devel dependency for noarch package OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-exam?expand=0&rev=3 --- python-exam.changes | 5 +++++ python-exam.spec | 12 ++++++------ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/python-exam.changes b/python-exam.changes index 0870747..c047b58 100644 --- a/python-exam.changes +++ b/python-exam.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 4 12:47:48 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + ------------------------------------------------------------------- Fri Sep 8 18:45:26 UTC 2017 - toddrme2178@gmail.com diff --git a/python-exam.spec b/python-exam.spec index d8cde32..4e8bc20 100644 --- a/python-exam.spec +++ b/python-exam.spec @@ -1,7 +1,7 @@ # # spec file for package python-exam # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,8 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# %{?!python_module:%define python_module() python-%{**} python3-%{**}} @@ -20,14 +21,13 @@ Name: python-exam Version: 0.10.6 Release: 0 -License: MIT Summary: Helpers for better testing -Url: https://github.com/fluxx/exam +License: MIT Group: Development/Languages/Python +Url: https://github.com/fluxx/exam Source: https://files.pythonhosted.org/packages/source/e/exam/exam-%{version}.tar.gz -BuildRequires: python-rpm-macros -BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} +BuildRequires: python-rpm-macros %if %{with test} BuildRequires: %{python_module mock} BuildRequires: %{python_module nose}