summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Scheck <robert@fedoraproject.org>2008-01-07 23:49:55 +0000
committerRobert Scheck <robert@fedoraproject.org>2008-01-07 23:49:55 +0000
commit517b09aff87862e0b9fbb31fa8601b64be9ee1ea (patch)
tree38510bcbdab643af843647f0db611dd077f0956f
parentb7045d486c2bb067257312dd40497f2ca95844ca (diff)
downloadpython-pexpect-517b09aff87862e0b9fbb31fa8601b64be9ee1ea.tar.gz
python-pexpect-517b09aff87862e0b9fbb31fa8601b64be9ee1ea.tar.xz
python-pexpect-517b09aff87862e0b9fbb31fa8601b64be9ee1ea.zip
Forgotten things and corrected some permissions to silence rpmlint
-rw-r--r--pexpect.spec5
1 files changed, 2 insertions, 3 deletions
diff --git a/pexpect.spec b/pexpect.spec
index 5ed4c86..3b08418 100644
--- a/pexpect.spec
+++ b/pexpect.spec
@@ -36,10 +36,9 @@ It should work on any platform that supports the standard Python pty module.
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 examples
+# Correct some permissions
find examples -type f -exec chmod a-x \{\} \;
+chmod 755 $RPM_BUILD_ROOT%{python_sitelib}/FSM.py
%clean
rm -rf $RPM_BUILD_ROOT