Python 2 binary package renamed to python2-prettytable

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-08-19 09:42:06 -04:00
parent 9a6a61745e
commit 6500be2e5b

View File

@ -9,7 +9,7 @@
Name: python-%{modname} Name: python-%{modname}
Version: 0.7.2 Version: 0.7.2
Release: 11%{?dist} Release: 12%{?dist}
Summary: Python library to display tabular data in tables Summary: Python library to display tabular data in tables
Group: Development/Languages Group: Development/Languages
@ -29,14 +29,22 @@ BuildRequires: python3-setuptools
%endif %endif
%description %global _description\
PrettyTable is a simple Python library designed to make it quick and easy to PrettyTable is a simple Python library designed to make it quick and easy to\
represent tabular data in visually appealing ASCII tables. It was inspired by represent tabular data in visually appealing ASCII tables. It was inspired by\
the ASCII tables used in the PostgreSQL shell psql. PrettyTable allows for the ASCII tables used in the PostgreSQL shell psql. PrettyTable allows for\
selection of which columns are to be printed, independent alignment of columns selection of which columns are to be printed, independent alignment of columns\
(left or right justified or centred) and printing of "sub-tables" by specifying (left or right justified or centred) and printing of "sub-tables" by specifying\
a row range. a row range.
%description %_description
%package -n python2-%{modname}
Summary: %summary
%{?python_provide:%python_provide python2-%{modname}}
%description -n python2-%{modname} %_description
%if 0%{?with_python3} %if 0%{?with_python3}
%package -n python3-%{modname} %package -n python3-%{modname}
Summary: Python library to display tabular data in tables Summary: Python library to display tabular data in tables
@ -92,7 +100,7 @@ popd
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
%files %files -n python2-%{modname}
%{!?_licensedir:%global license %%doc} %{!?_licensedir:%global license %%doc}
%license COPYING %license COPYING
%doc README CHANGELOG %doc README CHANGELOG
@ -111,6 +119,10 @@ popd
%changelog %changelog
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.7.2-12
- Python 2 binary package renamed to python2-prettytable
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.2-11 * Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.2-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild