rpms/pexpect/EL-4 .cvsignore, 1.3, 1.4 pexpect.spec, 1.5, 1.6 sources, 1.3, 1.4

Robert Scheck (robert) fedora-extras-commits at redhat.com
Wed Aug 29 17:08:08 UTC 2007


Author: robert

Update of /cvs/pkgs/rpms/pexpect/EL-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3597

Modified Files:
	.cvsignore pexpect.spec sources 
Log Message:
Rebuilt (and some minor spec file tweaks)



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/pexpect/EL-4/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- .cvsignore	8 Nov 2004 05:12:26 -0000	1.3
+++ .cvsignore	29 Aug 2007 17:07:34 -0000	1.4
@@ -1,3 +1 @@
-pexpect-0.999.tgz
-pexpect-doc.tgz
-pexpect-examples.tgz
+pexpect-2.1.tar.gz


Index: pexpect.spec
===================================================================
RCS file: /cvs/pkgs/rpms/pexpect/EL-4/pexpect.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- pexpect.spec	10 Feb 2005 20:19:03 -0000	1.5
+++ pexpect.spec	29 Aug 2007 17:07:34 -0000	1.6
@@ -1,78 +1,101 @@
-%define pyver %(python -c 'import sys ; print sys.version[:3]')
-%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
-
-Summary: Expect module for Python
-Name: pexpect
-Version: 0.999
-Release: 2
-License: PSFL
-Group: Development/Languages
-URL: http://pexpect.sourceforge.net
-Source: http://download.sourceforge.net/pexpect/%{name}-%{version}.tgz
-Source1: http://download.sourceforge.net/pexpect/pexpect-doc.tgz
-Source2: http://download.sourceforge.net/pexpect/pexpect-examples.tgz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
-Requires: python-abi = %{pyver}
-BuildRequires: python-devel >= 0:2.2
+%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+
+Summary:	Pure Python Expect-like module
+Name:		pexpect
+Version:	2.1
+Release:	5%{?dist}
+License:	MIT
+Group:		Development/Languages
+URL:		http://pexpect.sourceforge.net/
+Source:		http://dl.sf.net/sourceforge/%{name}/%{name}-%{version}.tar.gz
+%if "%{?rhel}" <= "4"
+Requires:	python-abi = %(%{__python} -c "import sys; print sys.version[:3]")
+%endif
+BuildRequires:	python-devel
+BuildArch:	noarch
+BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 %description
 Pexpect is a pure Python module for spawning child applications; controlling
 them; and responding to expected patterns in their output. Pexpect works like
 Don Libes' Expect. Pexpect allows your script to spawn a child application and
 control it as if a human were typing commands.
- 
+
 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.
+passwd, telnet, etc. It can be used to automate setup scripts for duplicating
+software package installations on different servers. And 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.
 
 %prep
-%setup -q -a1 -a2
-rm -rf $(find . -type d -name CVS)
+%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 ANSI.py screen.py FSM.py examples
-
-#touch %{name}-ghost.files
-#for file in $(find $RPM_BUILD_ROOT -type f -name "*.py"); do
-#for suffix in c o; do
-#if [ ! -e "$file$suffix" ]; then
-#touch "$file$suffix"
-#echo "%ghost $file$suffix" | sed "s|$RPM_BUILD_ROOT||" \
-#>> %{name}-ghost.files
-#fi
-#done
-#done
+cp -p screen.py ANSI.py FSM.py examples
+find examples -type f -exec chmod a-x \{\} \;
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-#%files -f %{name}-ghost.files
 %files
-%defattr(-,root,root,-)
-%{python_sitelib}/pexpect.py
-%{python_sitelib}/pexpect.pyc
-%ghost %{python_sitelib}/pexpect.pyo
-
-%doc README.txt doc examples
+%defattr(-,root,root)
+%doc README doc examples LICENSE
+%{python_sitelib}/*
 
 %changelog
+* Wed Aug 29 2007 Robert Scheck <robert at fedoraproject.org> 2.1-5
+- Rebuilt (and some minor spec file tweaks)
+
+* Sat Dec 09 2006 Toshio Kuratomi <toshio at tiki-lounge.com> - 2.1-4
+- Bump and rebuild because I forgot to cvs up before the last build.
+
+* Sat Dec 09 2006 Toshio Kuratomi <toshio at tiki-lounge.com> - 2.1-3
+- Bump and rebuild for python 2.5 on devel.
+- Add BR: python-devel as it provides a header necessary for python modules
+  on python 2.5.
+
+* Fri Sep 01 2006 Toshio Kuratomi <toshio at tiki-lounge.com> - 2.1-2
+- Remove pyver define as it's not needed with the automatic python(abi).
+- Stop ghosting .pyos.
+- Let automatic python compilation take care of creating pyos.
+- Rebuild for FC6.
+
+* Mon Jul 17 2006 Toshio Kuratomi <toshio at tiki-lounge.com> - 2.1-1
+- Update to 2.1.
+
+* Thu Feb 16 2006 Toshio Kuratomi <toshio at tiki-lounge.com> - 2.0-2
+- Bump and rebuild for FC5.
+- Convert from python-abi to python(abi) requires.
+
+* Thu Nov 17 2005 Toshio Kuratomi <toshio at tiki-lounge.com> - 2.0-1
+- Update to 2.0.
+
+* Sat Sep 3 2005 Toshio Kuratomi <toshio at tiki-lounge.com> 0.99999b-2
+- Add LICENSE File.
+- Make noarch.
+- Remove executable permissions from the modules copied to examples.
+  
+* Fri Sep  2 2005 Toshio Kuratomi <toshio at tiki-lounge.com> 0.99999b
+- Update to version 0.99999b.
+- Add dist tag. 
+
+* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
+- rebuilt
+
 * Thu Feb 03 2005 Toshio Kuratomi <toshio at tiki-lounge.com> 0.999-2
 - Use python_sitelib macro to resolve build issues on x86_64.
 - %%ghost *.pyo
-- Install ANSI.py, screen.py, and FSM.py into the examples.  These are intended 
+- Install ANSI.py, screen.py, and FSM.py into the examples.  These are intended
   to suplement pexpect eventually but they are currently much less robust and
   not installed to by default.  But they are needed by some examples.
 - Use __python macro in build/install for consistency.


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/pexpect/EL-4/sources,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- sources	8 Nov 2004 05:12:26 -0000	1.3
+++ sources	29 Aug 2007 17:07:34 -0000	1.4
@@ -1,3 +1 @@
-e426e5f54d323aaf392008c9eb35131d  pexpect-0.999.tgz
-69bfc0056938f561875289651c8715ad  pexpect-doc.tgz
-ee05cad1d7b6b4de0dc74bc16330b852  pexpect-examples.tgz
+fd3d67ac085332f074cd665424dcd631  pexpect-2.1.tar.gz




More information about the fedora-extras-commits mailing list