From 1dcc5fa198e99e3a2e4f4d64b1e0a583829edf55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Fri, 10 Jul 2020 17:14:23 +0200 Subject: [PATCH] Add setuptools_scm[toml] subpackage --- python-setuptools_scm.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/python-setuptools_scm.spec b/python-setuptools_scm.spec index 191cd5c..8f97f02 100644 --- a/python-setuptools_scm.spec +++ b/python-setuptools_scm.spec @@ -4,7 +4,7 @@ Name: python-%{srcname} Version: 4.1.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Blessed package to manage your versions by SCM tags License: MIT @@ -36,6 +36,8 @@ BuildRequires: python%{python3_pkgversion}-toml Setuptools_scm handles managing your python package versions in SCM metadata. 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 %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/ %changelog +* Fri Jul 10 2020 Miro HronĨok - 4.1.2-2 +- Add setuptools_scm[toml] subpackage + * Mon Jun 01 2020 Charalampos Stratakis - 4.1.2-1 - Update to 4.1.2 (#1839497)