Subpackage python2-wcwidth has been removed

This commit is contained in:
Miro Hrončok 2019-03-13 01:11:09 +01:00
parent 6d51f308d3
commit f18ae8e978

View File

@ -4,7 +4,7 @@
Name: python-%{pypi_name}
Version: 0.1.7
Release: 9%{?dist}
Release: 10%{?dist}
Summary: Measures number of Terminal column cells of wide-character codes
License: MIT
@ -17,20 +17,6 @@ This API is mainly for Terminal Emulator implementors, or those writing programs
that expect to interpreted by a terminal emulator and wish to determine the
printable width of a string on a Terminal.
%package -n python2-%{pypi_name}
Summary: %{summary}
BuildRequires: python2-devel
BuildRequires: python2-setuptools
%if %{with tests}
BuildRequires: python2-pytest
%endif
%{?python_provide:%python_provide python2-%{pypi_name}}
%description -n python2-%{pypi_name}
This API is mainly for Terminal Emulator implementors, or those writing programs
that expect to interpreted by a terminal emulator and wish to determine the
printable width of a string on a Terminal.
%package -n python3-%{pypi_name}
Summary: %{summary}
BuildRequires: python3-devel
@ -49,25 +35,16 @@ printable width of a string on a Terminal.
%setup -q -n %{pypi_name}-%{version}
%build
%py2_build
%py3_build
%install
%py2_install
%py3_install
%if %{with tests}
%check
%{__python2} -m pytest -v
%{__python3} -m pytest -v
%endif # with tests
%files -n python2-%{pypi_name}
%doc README.rst
%license LICENSE.txt
%{python2_sitelib}/%{pypi_name}
%{python2_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
%files -n python3-%{pypi_name}
%doc README.rst
%license LICENSE.txt
@ -75,6 +52,10 @@ printable width of a string on a Terminal.
%{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
%changelog
* Wed Mar 13 2019 Miro Hrončok <mhroncok@redhat.com> - 0.1.7-10
- Subpackage python2-wcwidth has been removed
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.7-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild