diff --git a/python-pexpect.spec b/python-pexpect.spec index bc4f7ea..6a4cec4 100644 --- a/python-pexpect.spec +++ b/python-pexpect.spec @@ -1,6 +1,6 @@ Name: python-pexpect Version: 4.7.0 -Release: 1mamba +Release: 2mamba Summary: Pexpect is a pure Python Expect. It allows easy control of other applications. Group: System/Libraries/Python Vendor: openmamba @@ -22,6 +22,10 @@ Pexpect is a pure Python module for spawning child applications; controlling the Pexpect can be used for automating interactive applications such as ssh, ftp, passwd, telnet, etc. It can be used to a automate setup scripts for duplicating software package installations on different servers. It can be used for automated software testing. Pexpect is in the spirit of Don Libes' Expect, but Pexpect is pure Python. Unlike other Expect-like modules for Python, Pexpect does not require TCL or Expect nor does it require C extensions to be compiled. It should work on any platform that supports the standard Python pty module. The Pexpect interface was designed to be easy to use. Send questions to: noah@noah.org Put 'pexpect' in the subject. +%if 0%{?with_pyver} +%pyver_package +%endif + %prep %setup -q -n pexpect-%{version} @@ -33,19 +37,22 @@ Send questions to: noah@noah.org Put 'pexpect' in the subject. %{__python} setup.py install \ --root="%{buildroot}" \ --install-headers=%{_includedir}/python \ - --install-lib=%{python_sitearch} + --install-lib=%{python_sitearch} \ + --record=%{name}.filelist + +sed -i "s,.*/man/.*,&.gz," %{name}.filelist +sed -i "/_async.pyc/d" %{name}.filelist %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%files +%files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) -%dir %{python_sitearch}/pexpect -%{python_sitearch}/pexpect/bashrc.sh -%{python_sitearch}/pexpect/*.py* -%{python_sitearch}/pexpect-*-py*.egg-info %changelog +* Sat Jul 20 2019 Silvan Calarco 4.7.0-2mamba +- added py36 package + * Tue May 07 2019 Automatic Build System 4.7.0-1mamba - automatic version update by autodist