%global srcname ptyprocess %bcond_without tests Name: python-ptyprocess Version: 0.6.0 Release: 6%{?dist} Summary: Run a subprocess in a pseudo terminal License: ISC URL: https://github.com/pexpect/ptyprocess Source: %{pypi_source} BuildArch: noarch %description 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}} BuildRequires: python3-devel %if %{with tests} BuildRequires: python3-pytest %endif %description -n python3-ptyprocess Launch a subprocess in a pseudo terminal (pty), and interact with both the process and its pty. %prep %autosetup -n ptyprocess-%{version} %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 %{python3_sitelib}/ptyprocess/ %{python3_sitelib}/ptyprocess-*.egg-info %changelog * Mon Jul 29 07:16:43 CEST 2019 Igor Gnatenko - 0.6.0-6 - Fix FTBFS * Fri Jul 26 2019 Fedora Release Engineering - 0.6.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 0.6.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sun Nov 18 2018 Zbigniew Jędrzejewski-Szmek - 0.6.0-3 - Drop explicit locale setting See https://fedoraproject.org/wiki/Changes/Remove_glibc-langpacks-all_from_buildroot * Sat Jul 14 2018 Fedora Release Engineering - 0.6.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Jun 22 2018 Orion Poplawski - 0.6.0-1 - Update to 0.6.0 * Fri Jun 15 2018 Miro Hrončok - 0.5.2-4 - Rebuilt for Python 3.7 * Fri Feb 09 2018 Fedora Release Engineering - 0.5.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.5.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Mon Jul 03 2017 Charalampos Stratakis - 0.5.2-1 - Update to 0.5.2 (#1467330) * Thu Feb 23 2017 Orion Poplawski - 0.5.1-6 - Really build python3 on EPEL * Thu Feb 23 2017 Orion Poplawski - 0.5.1-5 - Build python3 on EPEL - Run tests verbosely * Sat Feb 11 2017 Fedora Release Engineering - 0.5.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Tue Dec 13 2016 Stratakis Charalampos - 0.5.1-3 - Rebuild for Python 3.6 * Tue Jul 19 2016 Fedora Release Engineering - 0.5.1-2 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Mon Apr 04 2016 Thomas Spura - 0.5.1-1 - update to 0.5.1 (#1304136) * Thu Feb 04 2016 Fedora Release Engineering - 0.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Oct 14 2015 Thomas Spura - 0.5-3 - Use new python macros * Thu Jun 18 2015 Fedora Release Engineering - 0.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Thu May 21 2015 Thomas Spura - 0.5-1 - update to 0.5 (#1223718) * Wed Jan 07 2015 Thomas Spura - 0.4-1 - update to 0.4 * Wed Dec 03 2014 Thomas Spura - 0.3.1-2 - Generalize with_python3 macro - Add comment to tests section * Tue Nov 25 2014 Thomas Spura - 0.3.1-1 - initial spec for ptyprocess (#1167830)