diff --git a/python-pykwalify.changes b/python-pykwalify.changes index 462c133..e405604 100644 --- a/python-pykwalify.changes +++ b/python-pykwalify.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 4 12:52:23 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + ------------------------------------------------------------------- Wed Aug 23 12:01:09 UTC 2017 - t.gruner@katodev.de diff --git a/python-pykwalify.spec b/python-pykwalify.spec index b2ebb06..14dcaba 100644 --- a/python-pykwalify.spec +++ b/python-pykwalify.spec @@ -1,7 +1,7 @@ # # spec file for package python-pykwalify # -# 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,25 +21,24 @@ Name: python-pykwalify Version: 1.6.0 Release: 0 -License: MIT Summary: Python lib/cli for JSON/YAML schema validation -Url: http://github.com/grokzen/pykwalify +License: MIT Group: Development/Languages/Python +Url: http://github.com/grokzen/pykwalify Source: https://files.pythonhosted.org/packages/source/p/pykwalify/pykwalify-%{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 docopt >= 0.6.2} -BuildRequires: %{python_module python-dateutil >= 2.4.2} BuildRequires: %{python_module PyYAML >= 3.11} +BuildRequires: %{python_module docopt >= 0.6.2} BuildRequires: %{python_module pytest} +BuildRequires: %{python_module python-dateutil >= 2.4.2} BuildRequires: %{python_module testfixtures} %endif BuildRequires: fdupes +Requires: python-PyYAML >= 3.11 Requires: python-docopt >= 0.6.2 Requires: python-python-dateutil >= 2.4.2 -Requires: python-PyYAML >= 3.11 Suggests: python-ruamel.yaml >= 0.11.0 BuildArch: noarch