| |
@@ -5,7 +5,7 @@
|
| |
|
| |
Name: python-vistir
|
| |
Version: 0.4.3
|
| |
- Release: 6%{?dist}
|
| |
+ Release: 7%{?dist}
|
| |
License: ISC
|
| |
URL: https://pypi.org/project/%{srcname}
|
| |
Source0: https://github.com/sarugaku/%{srcname}/archive/%{version}.tar.gz
|
| |
@@ -38,13 +38,16 @@
|
| |
BuildRequires: python3-pytest-timeout
|
| |
|
| |
# for support of spinners
|
| |
- Recommends: python3-yaspin
|
| |
+ %{?python_extras_subpkg:Recommends: python3-%{srcname}+spinner}
|
| |
+ %{!?python_extras_subpkg:Recommends: python3-yaspin}
|
| |
|
| |
%{?python_provide:%python_provide python3-%{srcname}}
|
| |
|
| |
%description -n python3-%{srcname}
|
| |
%{_description}
|
| |
|
| |
+ %{?python_extras_subpkg:%python_extras_subpkg -n python3-%{srcname} -i %{python3_sitelib}/%{srcname}-*.egg-info spinner}
|
| |
+
|
| |
%prep
|
| |
%autosetup -n %{srcname}-%{version} -p1
|
| |
|
| |
@@ -68,6 +71,9 @@
|
| |
|
| |
|
| |
%changelog
|
| |
+ * Fri Jul 10 2020 Miro Hrončok <mhroncok@redhat.com> - 0.4.3-7
|
| |
+ - Add vistir[spinner] subpackage
|
| |
+
|
| |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.4.3-6
|
| |
- Rebuilt for Python 3.9
|
| |
|
| |
https://fedoraproject.org/wiki/Changes/PythonExtras