Subpackage python2-ptyprocess has been removed

This commit is contained in:
Miro Hrončok 2019-10-01 09:50:50 +02:00
parent ba851eca87
commit 21e1a19121

View File

@ -4,7 +4,7 @@
Name: python-ptyprocess
Version: 0.6.0
Release: 7%{?dist}
Release: 8%{?dist}
Summary: Run a subprocess in a pseudo terminal
License: ISC
@ -17,18 +17,6 @@ BuildArch: noarch
Launch a subprocess in a pseudo terminal (pty), and interact with both the
process and its pty.
%package -n python2-ptyprocess
Summary: Run a subprocess in a pseudo terminal
%{?python_provide:%python_provide python2-%{srcname}}
BuildRequires: python2-devel
%if %{with tests}
BuildRequires: python2-pytest
%endif
%description -n python2-ptyprocess
Launch a subprocess in a pseudo terminal (pty), and interact with both the
process and its pty.
%package -n python3-ptyprocess
Summary: Run a subprocess in a pseudo terminal
%{?python_provide:%python_provide python3-%{srcname}}
@ -46,24 +34,15 @@ process and its pty.
%build
%py3_build
%py2_build
%install
%py3_install
%py2_install
%if %{with tests}
%check
%{__python3} -m pytest -v
%{__python2} -m pytest -v
%endif
%files -n python2-ptyprocess
%license LICENSE
%doc README.rst
%{python2_sitelib}/ptyprocess/
%{python2_sitelib}/ptyprocess-*.egg-info
%files -n python3-ptyprocess
%license LICENSE
%doc README.rst
@ -71,6 +50,10 @@ process and its pty.
%{python3_sitelib}/ptyprocess-*.egg-info
%changelog
* Tue Oct 01 2019 Miro Hrončok <mhroncok@redhat.com> - 0.6.0-8
- Subpackage python2-ptyprocess has been removed
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
* Fri Aug 16 2019 Miro Hrončok <mhroncok@redhat.com> - 0.6.0-7
- Rebuilt for Python 3.8