Accepting request 784624 from devel:languages:python:pytest

- Build without python2 present

OBS-URL: https://build.opensuse.org/request/show/784624
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-shutil?expand=0&rev=5
This commit is contained in:
Dominique Leuenberger 2020-03-26 23:22:20 +00:00 committed by Git OBS Bridge
commit 2bd6323dbd
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Mar 13 12:37:42 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Build without python2 present
-------------------------------------------------------------------
Sat Dec 28 18:31:07 UTC 2019 - Ondřej Súkup <mimi.vx@gmail.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-pytest-shutil
#
# Copyright (c) 2019 SUSE LLC
# 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
@ -17,6 +17,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without python2
Name: python-pytest-shutil
Version: 1.7.0
Release: 0
@ -34,7 +35,9 @@ BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
BuildRequires: %{python_module termcolor}
BuildRequires: fdupes
%if %{with python2}
BuildRequires: python-contextlib2
%endif
BuildRequires: python-rpm-macros
Requires: python-execnet
Requires: python-mock