15
0
Tomáš Chvátal
2020-09-08 07:06:55 +00:00
committed by Git OBS Bridge
parent 8728f471c0
commit a0fc40f557
2 changed files with 15 additions and 11 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Sep 8 07:06:31 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Format with spec-cleaner
-------------------------------------------------------------------
Mon Sep 7 04:12:02 AM UTC 2020 - John Vandenberg <jayvdb@gmail.com>

View File

@@ -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