forked from pool/python-setuptools_scm
- Fix the multibuild code
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=31
This commit is contained in:
committed by
Git OBS Bridge
parent
fbe06ebb47
commit
dae306a8be
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 7 07:19:37 UTC 2018 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Fix the multibuild code
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Aug 1 07:27:53 UTC 2018 - tchvatal@suse.com
|
Wed Aug 1 07:27:53 UTC 2018 - tchvatal@suse.com
|
||||||
|
|
||||||
|
@@ -24,7 +24,11 @@
|
|||||||
%else
|
%else
|
||||||
%bcond_with test
|
%bcond_with test
|
||||||
%endif
|
%endif
|
||||||
|
%if %{with test}
|
||||||
|
Name: python-setuptools_scm-%{flavor}
|
||||||
|
%else
|
||||||
Name: python-setuptools_scm
|
Name: python-setuptools_scm
|
||||||
|
%endif
|
||||||
Version: 3.0.6
|
Version: 3.0.6
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Manage your versions by scm tags
|
Summary: Manage your versions by scm tags
|
||||||
@@ -43,7 +47,6 @@ BuildRequires: %{python_module pip}
|
|||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: git
|
BuildRequires: git
|
||||||
BuildRequires: mercurial
|
BuildRequires: mercurial
|
||||||
Requires: this-is-only-for-build-envs
|
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?suse_version} || 0%{?fedora_version} >= 24
|
%if 0%{?suse_version} || 0%{?fedora_version} >= 24
|
||||||
Recommends: git
|
Recommends: git
|
||||||
@@ -62,8 +65,10 @@ in scm metadata. It also handles file finders for the supperted scm's.
|
|||||||
%python_build
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
%if !%{with test}
|
||||||
%python_install
|
%python_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
%endif
|
||||||
|
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
%check
|
%check
|
||||||
@@ -72,7 +77,9 @@ in scm metadata. It also handles file finders for the supperted scm's.
|
|||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
%if !%{with test}
|
||||||
%doc README.rst CHANGELOG.rst
|
%doc README.rst CHANGELOG.rst
|
||||||
%{python_sitelib}/setuptools_scm*
|
%{python_sitelib}/setuptools_scm*
|
||||||
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user