[python-pexpect: 24/35] Forgotten things and corrected some permissions to silence rpmlint

Andrew McNabb amcnabb at fedoraproject.org
Wed Nov 21 14:25:48 UTC 2012


commit 517b09aff87862e0b9fbb31fa8601b64be9ee1ea
Author: Robert Scheck <robert at fedoraproject.org>
Date:   Mon Jan 7 23:49:55 2008 +0000

    Forgotten things and corrected some permissions to silence rpmlint

 pexpect.spec |    5 ++---
 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


More information about the scm-commits mailing list