summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToshio くらとみ <toshio@fedoraproject.org>2006-07-18 05:43:43 +0000
committerToshio くらとみ <toshio@fedoraproject.org>2006-07-18 05:43:43 +0000
commit855cd9b974418683c6740d3185400c4ac0aacf67 (patch)
tree469e1e168bf2f1842e199362c03e6236e9e30ef4
parent070f67a5fddb0a9beee4744d4664fe647c63f8af (diff)
downloadpython-pexpect-855cd9b974418683c6740d3185400c4ac0aacf67.tar.gz
python-pexpect-855cd9b974418683c6740d3185400c4ac0aacf67.tar.xz
python-pexpect-855cd9b974418683c6740d3185400c4ac0aacf67.zip
- Update to 2.1.
-rw-r--r--.cvsignore4
-rw-r--r--pexpect.spec29
-rw-r--r--sources4
3 files changed, 16 insertions, 21 deletions
diff --git a/.cvsignore b/.cvsignore
index d110ef8..86b8c99 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -1,3 +1 @@
-pexpect-2.0.tgz
-pexpect-doc.tgz
-pexpect-2.0-examples.tgz
+pexpect-2.1.tar.gz
diff --git a/pexpect.spec b/pexpect.spec
index 0ef5cca..42f7488 100644
--- a/pexpect.spec
+++ b/pexpect.spec
@@ -3,18 +3,15 @@
Summary: Expect module for Python
Name: pexpect
-Version: 2.0
-Release: 2%{?dist}
+Version: 2.1
+Release: 1%{?dist}
-License: PSF
+License: MIT
Group: Development/Languages
URL: http://pexpect.sf.net
-Source: http://dl.sf.net/pexpect/%{name}-%{version}.tgz
-Source1: http://dl.sf.net/pexpect/pexpect-doc.tgz
-Source2: http://dl.sf.net/pexpect/pexpect-%{version}-examples.tgz
-Source10: LICENSE
+Source: http://dl.sf.net/pexpect/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
-Requires: python(abi) = %{pyver}
+#Requires: python(abi) = %{pyver}
BuildRequires: python
BuildArch: noarch
@@ -34,19 +31,18 @@ extensions to be compiled. It should work on any platform that supports the
standard Python pty module.
%prep
-%setup -q -a1 -a2
-rm -rf $(find . -type d -name CVS)
-cp %{SOURCE10} .
+%setup -q
%build
%{__python} setup.py build
%install
+rm -rf $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
# 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 \{\} \;
%clean
@@ -54,13 +50,16 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
-%{python_sitelib}/pexpect.py
-%{python_sitelib}/pexpect.pyc
-%ghost %{python_sitelib}/pexpect.pyo
+%{python_sitelib}/*.py
+%{python_sitelib}/*.pyc
+%ghost %{python_sitelib}/*.pyo
%doc README doc examples LICENSE
%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
- Bump and rebuild for FC5.
- Convert from python-abi to python(abi) requires.
diff --git a/sources b/sources
index 13d22aa..5e22cba 100644
--- a/sources
+++ b/sources
@@ -1,3 +1 @@
-f1501c102cf8af01a49674e139d1c828 pexpect-2.0.tgz
-69bfc0056938f561875289651c8715ad pexpect-doc.tgz
-bd50df4f2b17e32d4405ab76b3fa4ecb pexpect-2.0-examples.tgz
+fd3d67ac085332f074cd665424dcd631 pexpect-2.1.tar.gz