From d2ff264d41ad128920be9b0a19b02adb76f03c6aff390f964fba0a209c8e1fa3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 1 Aug 2019 08:08:26 +0000 Subject: [PATCH] - Format with spec-cleaner - Remove devel dependency that is not needed OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jsonref?expand=0&rev=2 --- python-jsonref.changes | 6 ++++++ python-jsonref.spec | 17 ++++++++--------- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/python-jsonref.changes b/python-jsonref.changes index ae642d3..1b0e394 100644 --- a/python-jsonref.changes +++ b/python-jsonref.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Aug 1 08:07:48 UTC 2019 - Tomáš Chvátal + +- Format with spec-cleaner +- Remove devel dependency that is not needed + ------------------------------------------------------------------- Mon Feb 4 15:45:55 UTC 2019 - Bruno Friedmann diff --git a/python-jsonref.spec b/python-jsonref.spec index 1774edb..e0d0506 100644 --- a/python-jsonref.spec +++ b/python-jsonref.spec @@ -1,7 +1,7 @@ # # spec file for package python-jsonref # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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,7 @@ # 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/ # @@ -23,12 +23,12 @@ Release: 0 Summary: An implementation of JSON Reference for Python License: MIT Group: Development/Languages/Python -URL: http://github.com/gazpachoking/jsonref +URL: https://github.com/gazpachoking/jsonref Source: https://files.pythonhosted.org/packages/source/j/jsonref/jsonref-%{version}.tar.gz -BuildRequires: %{python_module devel} -BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest-mock} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module setuptools} +BuildRequires: dos2unix BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -51,8 +51,7 @@ Complete docs can be found at http://jsonref.readthedocs.org/ %prep %setup -q -n jsonref-%{version} -#fix eol -sed -i 's/\r//g' README.rst +dos2unix README.rst %build %python_build @@ -62,7 +61,7 @@ sed -i 's/\r//g' README.rst %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} pytest tests.py +%pytest tests.py %files %{python_files} %license LICENSE