Accepting request 668380 from devel:languages:python

- Remove BR for mercurial.

OBS-URL: https://build.opensuse.org/request/show/668380
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools_scm?expand=0&rev=19
This commit is contained in:
Dominique Leuenberger 2019-01-26 21:21:05 +00:00 committed by Git OBS Bridge
commit 458d5c6ae4
2 changed files with 7 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jan 24 15:37:06 UTC 2019 - Matěj Cepl <mcepl@suse.com>
- Remove BR for mercurial.
-------------------------------------------------------------------
Mon Sep 17 15:20:50 UTC 2018 - Ondřej Súkup <mimi.vx@gmail.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-setuptools_scm
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 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
@ -47,11 +47,9 @@ BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools_scm = %{version}}
BuildRequires: git
BuildRequires: mercurial
%endif
%if 0%{?suse_version} || 0%{?fedora_version} >= 24
Recommends: git
Recommends: mecurial
%endif
%python_subpackages
@ -74,7 +72,7 @@ rm tox.ini
%if %{with test}
%check
%python_expand PYTHONPATH=%{$python_sitelib} py.test-%{$python_bin_suffix} -v -k 'not (test_pip_download or test_old_setuptools_fails or test_old_setuptools_allows_with_warnings or test_distlib_setuptools_works)'
%python_expand PYTHONPATH=%{$python_sitelib} py.test-%{$python_bin_suffix} -v -k 'not (test_pip_download or test_old_setuptools_fails or test_old_setuptools_allows_with_warnings or test_distlib_setuptools_works or test_mercurial or hg)'
%endif
%files %{python_files}