Python 2 binary package renamed to python2-urwid

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-08-19 09:43:15 -04:00
parent f8ddc47a13
commit 69db2a934f

View File

@ -9,7 +9,7 @@
Name: python-urwid
Version: 1.3.0
Release: 10%{?dist}
Release: 11%{?dist}
Summary: Console user interface library
Group: Development/Libraries
@ -33,14 +33,22 @@ BuildRequires: python3-test
BuildRequires: /usr/bin/2to3
%endif # if with_python3
%description
Urwid is a Python library for making text console applications. It has
many features including fluid interface resizing, support for UTF-8 and
CJK encodings, standard and custom text layout modes, simple markup for
setting text attributes, and a powerful, dynamic list box that handles a
mix of widget types. It is flexible, modular, and leaves the developer in
%global _description\
Urwid is a Python library for making text console applications. It has\
many features including fluid interface resizing, support for UTF-8 and\
CJK encodings, standard and custom text layout modes, simple markup for\
setting text attributes, and a powerful, dynamic list box that handles a\
mix of widget types. It is flexible, modular, and leaves the developer in\
control.
%description %_description
%package -n python2-urwid
Summary: %summary
%{?python_provide:%python_provide python2-urwid}
%description -n python2-urwid %_description
%if 0%{?with_python3}
%package -n python3-urwid
Summary: Urwid console user interface library for Python 3
@ -101,7 +109,7 @@ popd
%clean
rm -rf %{buildroot}
%files
%files -n python2-urwid
%defattr(-,root,root,-)
%doc COPYING README.rst examples docs
%{python_sitearch}/urwid
@ -116,6 +124,10 @@ rm -rf %{buildroot}
%endif
%changelog
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.3.0-11
- Python 2 binary package renamed to python2-urwid
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild