From 01442adbe8d95cadb0be0ebb741a248eacc6018b5c0d981c3a3fbcd6fac18806 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 11 Oct 2018 08:13:31 +0000 Subject: [PATCH] - Sort the deps with spec-cleaner OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyHamcrest?expand=0&rev=2 --- python-PyHamcrest.changes | 5 +++++ python-PyHamcrest.spec | 24 ++++++++++++------------ 2 files changed, 17 insertions(+), 12 deletions(-) diff --git a/python-PyHamcrest.changes b/python-PyHamcrest.changes index b64e15d..68489c9 100644 --- a/python-PyHamcrest.changes +++ b/python-PyHamcrest.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Oct 11 08:13:20 UTC 2018 - Tomáš Chvátal + +- Sort the deps with spec-cleaner + ------------------------------------------------------------------- Sat Oct 6 09:27:07 UTC 2018 - ecsos@opensuse.org diff --git a/python-PyHamcrest.spec b/python-PyHamcrest.spec index e8c8abd..976a672 100644 --- a/python-PyHamcrest.spec +++ b/python-PyHamcrest.spec @@ -1,7 +1,7 @@ # # spec file for package python-PyHamcrest # -# 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,36 +12,36 @@ # 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-%{**}} - Name: python-PyHamcrest Version: 1.9.0 Release: 0 -License: BSD-3-Clause Summary: Hamcrest framework for matcher objects -Url: https://github.com/hamcrest/PyHamcrest +License: BSD-3-Clause Group: Development/Languages/Python +URL: https://github.com/hamcrest/PyHamcrest # PyPi is missing tests #Source: https://files.pythonhosted.org/packages/source/P/PyHamcrest/PyHamcrest-%%{version}.tar.gz Source: https://github.com/hamcrest/PyHamcrest/archive/V%{version}.tar.gz -BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module pytest-cov} -BuildRequires: %{python_module mock} BuildRequires: %{python_module hypothesis >= 1.11} -BuildRequires: python-rpm-macros +BuildRequires: %{python_module mock} +BuildRequires: %{python_module pytest-cov} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module six >= 1.4} BuildRequires: fdupes +BuildRequires: python-rpm-macros Requires: python-six >= 1.4 BuildArch: noarch - %python_subpackages %description Hamcrest framework for matcher objects. -PyHamcrest is a framework for writing matcher objects, -allowing you to declaratively define “match” rules. +PyHamcrest is a framework for writing matcher objects, +allowing you to declaratively define “match” rules. %prep %setup -q -n PyHamcrest-%{version}