From 783f2aacbd3d9b57dd61fa98772ea3f95d5b0efa6a234b6a73079308c719a615 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 1 Aug 2019 07:54:51 +0000 Subject: [PATCH] - Add patch fixing tests from upstream git: * 3a35e815.patch OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pprintpp?expand=0&rev=2 --- python-pprintpp.changes | 2 ++ python-pprintpp.spec | 14 +++++++------- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/python-pprintpp.changes b/python-pprintpp.changes index 505be27..24edb08 100644 --- a/python-pprintpp.changes +++ b/python-pprintpp.changes @@ -2,3 +2,5 @@ Thu Aug 1 03:14:08 AM UTC 2019 - John Vandenberg - Initial spec for v0.4.0 +- Add patch fixing tests from upstream git: + * 3a35e815.patch diff --git a/python-pprintpp.spec b/python-pprintpp.spec index e61d5ed..54a4c8e 100644 --- a/python-pprintpp.spec +++ b/python-pprintpp.spec @@ -12,26 +12,26 @@ # 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-pprintpp Version: 0.4.0 Release: 0 -License: BSD-2-Clause Summary: A pprint that is actually pretty -Url: https://github.com/wolever/pprintpp +License: BSD-2-Clause Group: Development/Languages/Python +URL: https://github.com/wolever/pprintpp Source: https://files.pythonhosted.org/packages/source/p/pprintpp/pprintpp-%{version}.tar.gz -Patch0: https://github.com/wolever/pprintpp/commit/3a35e815.patch -BuildRequires: python-rpm-macros -BuildRequires: %{python_module parameterized} +Patch0: https://github.com/wolever/pprintpp/commit/3a35e815.patch BuildRequires: %{python_module nose} +BuildRequires: %{python_module parameterized} BuildRequires: %{python_module setuptools} BuildRequires: fdupes +BuildRequires: python-rpm-macros BuildArch: noarch - %python_subpackages %description