Add setuptools_scm[toml] subpackage

This commit is contained in:
Miro Hrončok 2020-07-10 17:14:23 +02:00
parent a3acc6ec5c
commit 1dcc5fa198

View File

@ -4,7 +4,7 @@
Name: python-%{srcname} Name: python-%{srcname}
Version: 4.1.2 Version: 4.1.2
Release: 1%{?dist} Release: 2%{?dist}
Summary: Blessed package to manage your versions by SCM tags Summary: Blessed package to manage your versions by SCM tags
License: MIT License: MIT
@ -36,6 +36,8 @@ BuildRequires: python%{python3_pkgversion}-toml
Setuptools_scm handles managing your python package versions in SCM metadata. Setuptools_scm handles managing your python package versions in SCM metadata.
It also handles file finders for the supported SCMs. It also handles file finders for the supported SCMs.
%{?python_extras_subpkg:%{python_extras_subpkg -n python3-setuptools_scm -i %{python3_sitelib}/%{srcname}-*.egg-info toml}}
%prep %prep
%autosetup -n %{srcname}-%{version} %autosetup -n %{srcname}-%{version}
@ -57,6 +59,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} pytest-3 -v -k 'not test_pip_download'
%{python3_sitelib}/%{srcname}-*.egg-info/ %{python3_sitelib}/%{srcname}-*.egg-info/
%changelog %changelog
* Fri Jul 10 2020 Miro Hrončok <mhroncok@redhat.com> - 4.1.2-2
- Add setuptools_scm[toml] subpackage
* Mon Jun 01 2020 Charalampos Stratakis <cstratak@redhat.com> - 4.1.2-1 * Mon Jun 01 2020 Charalampos Stratakis <cstratak@redhat.com> - 4.1.2-1
- Update to 4.1.2 (#1839497) - Update to 4.1.2 (#1839497)