14
0

- Version update to 3.0.5:

* fix readme
  * correct the deploy sections

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=27
This commit is contained in:
Tomáš Chvátal
2018-07-31 09:18:18 +00:00
committed by Git OBS Bridge
parent 69dda9099e
commit edf8ea4ef6
4 changed files with 15 additions and 5 deletions

View File

@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_with test
Name: python-setuptools_scm
Version: 3.0.2
Version: 3.0.5
Release: 0
Summary: Manage your versions by scm tags
License: MIT
@@ -29,14 +29,16 @@ Source: https://files.pythonhosted.org/packages/source/s/setuptools_scm/
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
Requires: python-setuptools
BuildRequires: fdupes
BuildArch: noarch
%if %{with test}
# Testing requirements
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: git
BuildRequires: mercurial
%endif
%if 0%{?suse_version} >= 1000 || 0%{?fedora_version} >= 24
%if 0%{?suse_version} || 0%{?fedora_version} >= 24
Recommends: git
Recommends: mecurial
%endif
@@ -54,6 +56,7 @@ in scm metadata. It also handles file finders for the supperted scm's.
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%if %{with test}
%check