diff --git a/python-before-after.changes b/python-before-after.changes index e5bf439..df1e18c 100644 --- a/python-before-after.changes +++ b/python-before-after.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Sep 8 07:06:31 UTC 2020 - Tomáš Chvátal + +- Format with spec-cleaner + ------------------------------------------------------------------- Mon Sep 7 04:12:02 AM UTC 2020 - John Vandenberg diff --git a/python-before-after.spec b/python-before-after.spec index f09fd71..12efdc7 100644 --- a/python-before-after.spec +++ b/python-before-after.spec @@ -1,7 +1,7 @@ # # spec file for package python-before-after # -# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,31 +12,30 @@ # 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-before-after Version: 1.0.1 Release: 0 -License: GPL-2.0 Summary: Python utilities for testing race conditions -Url: https://github.com/c-oreills/before_after -Group: Development/Languages/Python -Source: https://files.pythonhosted.org/packages/source/b/before-after/before_after-%{version}.tar.gz +License: GPL-2.0-only +URL: https://github.com/c-oreills/before_after +Source: https://files.pythonhosted.org/packages/source/b/before_after/before_after-%{version}.tar.gz # https://github.com/c-oreills/before_after/issues/8 Source1: https://raw.githubusercontent.com/c-oreills/before_after/master/LICENSE Patch0: https://patch-diff.githubusercontent.com/raw/c-oreills/before_after/pull/6.patch#/pr_6.patch -BuildRequires: python-rpm-macros BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-mock >= 1.0.1 +BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module mock >= 1.0.1} BuildRequires: %{python_module pytest} # /SECTION -BuildRequires: fdupes -Requires: python-mock >= 1.0.1 -BuildArch: noarch - %python_subpackages %description