forked from pool/python-setuptools_scm
Accepting request 596406 from home:apersaud:branches:devel:languages:python
update to latest version OBS-URL: https://build.opensuse.org/request/show/596406 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=22
This commit is contained in:
committed by
Git OBS Bridge
parent
eefa88a1fe
commit
04caede78a
@@ -16,10 +16,10 @@
|
||||
#
|
||||
|
||||
|
||||
%bcond_with test
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%bcond_with test
|
||||
Name: python-setuptools_scm
|
||||
Version: 1.17.0
|
||||
Version: 2.0.0
|
||||
Release: 0
|
||||
Summary: Manage your versions by scm tags
|
||||
License: MIT
|
||||
@@ -29,20 +29,18 @@ Source: https://files.pythonhosted.org/packages/source/s/setuptools_scm/
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-setuptools
|
||||
BuildArch: noarch
|
||||
%if %{with test}
|
||||
# Testing requirements
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: git
|
||||
BuildRequires: mercurial
|
||||
%endif
|
||||
Requires: python-setuptools
|
||||
%if 0%{?suse_version} >= 1000 || 0%{?fedora_version} >= 24
|
||||
Recommends: git
|
||||
Recommends: mecurial
|
||||
%endif
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -63,9 +61,9 @@ in scm metadata. It also handles file finders for the supperted scm's.
|
||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix}
|
||||
%endif
|
||||
|
||||
%files %python_files
|
||||
%defattr(-,root,root,-)
|
||||
%doc README.rst LICENSE CHANGELOG.rst
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc README.rst CHANGELOG.rst
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user