Python 2 binary package renamed to python2-progress

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-08-19 09:42:08 -04:00
commit fa4712f9a8

View file

@ -4,7 +4,7 @@
Name: python-%{pypi_name}
Version: 1.2
Release: 13%{?dist}
Release: 14%{?dist}
Summary: Easy to use progress bars
License: ISC
@ -23,10 +23,18 @@ BuildRequires: python3-setuptools
Patch1: 0001-possibly-enlarge-dequeue-to-give-us-better-statistic.patch
Patch2: 0002-make-the-progress-bar-more-stable.patch
%description
Collection of easy to use progress bars and spinners.
%global _description\
Collection of easy to use progress bars and spinners.\
%description %_description
%package -n python2-%{pypi_name}
Summary: %summary
%{?python_provide:%python_provide python2-%{pypi_name}}
%description -n python2-%{pypi_name} %_description
%if 0%{?with_python3}
%package -n python3-%{pypi_name}
Summary: Easy to use progress bars
@ -68,7 +76,7 @@ popd
%{__python2} setup.py install --skip-build --root %{buildroot}
%files
%files -n python2-%{pypi_name}
%doc README.rst LICENSE
%{python2_sitelib}/%{pypi_name}
%{python2_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
@ -81,6 +89,10 @@ popd
%endif # with_python3
%changelog
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.2-14
- Python 2 binary package renamed to python2-progress
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild