- Update to 2.1.

This commit is contained in:
Toshio くらとみ 2006-07-18 05:43:43 +00:00
parent 070f67a5fd
commit 855cd9b974
3 changed files with 16 additions and 21 deletions

View File

@ -1,3 +1 @@
pexpect-2.0.tgz pexpect-2.1.tar.gz
pexpect-doc.tgz
pexpect-2.0-examples.tgz

View File

@ -3,18 +3,15 @@
Summary: Expect module for Python Summary: Expect module for Python
Name: pexpect Name: pexpect
Version: 2.0 Version: 2.1
Release: 2%{?dist} Release: 1%{?dist}
License: PSF License: MIT
Group: Development/Languages Group: Development/Languages
URL: http://pexpect.sf.net URL: http://pexpect.sf.net
Source: http://dl.sf.net/pexpect/%{name}-%{version}.tgz Source: http://dl.sf.net/pexpect/%{name}-%{version}.tar.gz
Source1: http://dl.sf.net/pexpect/pexpect-doc.tgz
Source2: http://dl.sf.net/pexpect/pexpect-%{version}-examples.tgz
Source10: LICENSE
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Requires: python(abi) = %{pyver} #Requires: python(abi) = %{pyver}
BuildRequires: python BuildRequires: python
BuildArch: noarch BuildArch: noarch
@ -34,19 +31,18 @@ extensions to be compiled. It should work on any platform that supports the
standard Python pty module. standard Python pty module.
%prep %prep
%setup -q -a1 -a2 %setup -q
rm -rf $(find . -type d -name CVS)
cp %{SOURCE10} .
%build %build
%{__python} setup.py build %{__python} setup.py build
%install %install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
# These are apparently works in progress and thus not installed. But they are # These are apparently works in progress and thus not installed. But they are
# needed by the chess* examples.... Moving them to examples for now. # needed by the chess* examples.... Moving them to examples for now.
cp -p screen.py ANSI.py FSM.py pxssh.py examples cp -p screen.py ANSI.py FSM.py examples
find examples -type f -exec chmod a-x \{\} \; find examples -type f -exec chmod a-x \{\} \;
%clean %clean
@ -54,13 +50,16 @@ rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{python_sitelib}/pexpect.py %{python_sitelib}/*.py
%{python_sitelib}/pexpect.pyc %{python_sitelib}/*.pyc
%ghost %{python_sitelib}/pexpect.pyo %ghost %{python_sitelib}/*.pyo
%doc README doc examples LICENSE %doc README doc examples LICENSE
%changelog %changelog
* Mon Jul 17 2006 Toshio Kuratomi <toshio@tiki-lounge.com> - 2.1-1
- Update to 2.1.
* Thu Feb 16 2006 Toshio Kuratomi <toshio@tiki-lounge.com> - 2.0-2 * Thu Feb 16 2006 Toshio Kuratomi <toshio@tiki-lounge.com> - 2.0-2
- Bump and rebuild for FC5. - Bump and rebuild for FC5.
- Convert from python-abi to python(abi) requires. - Convert from python-abi to python(abi) requires.

View File

@ -1,3 +1 @@
f1501c102cf8af01a49674e139d1c828 pexpect-2.0.tgz fd3d67ac085332f074cd665424dcd631 pexpect-2.1.tar.gz
69bfc0056938f561875289651c8715ad pexpect-doc.tgz
bd50df4f2b17e32d4405ab76b3fa4ecb pexpect-2.0-examples.tgz