From 40614f64a23869d74971ab7c22d9bcccd4525795 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Thu, 10 Apr 2014 13:37:34 +0700 Subject: [PATCH] python-pam: Create symlink to PAM.py and PAM.pyc. This fixed the not working cinnamon-settings application. Signed-off-by: willysr --- KNOWN_ISSUES | 1 - python-pam/python-pam.SlackBuild | 8 +++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/KNOWN_ISSUES b/KNOWN_ISSUES index 550fffe..8aca767 100644 --- a/KNOWN_ISSUES +++ b/KNOWN_ISSUES @@ -4,5 +4,4 @@ KNOWN ISSUES Network-Manager and rebuild - In case of muffin failed on SnMonitorContext, reinstall startup-notification and rebuild -- Clicking account detail and system settings in account icon does nothing - If KDE apps do not work on Cinnamon, try reinstalling qt diff --git a/python-pam/python-pam.SlackBuild b/python-pam/python-pam.SlackBuild index dba7e76..d12e6e4 100644 --- a/python-pam/python-pam.SlackBuild +++ b/python-pam/python-pam.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=python-pam VERSION=${VERSION:-0.1.4} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_csb} if [ -z "$ARCH" ]; then @@ -65,6 +65,12 @@ python setup.py install --root=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +( + cd $PKG/usr/lib${LIBDIRSUFFIX}/python2.7/site-packages/ + ln -s pam.py PAM.py + ln -s pam.pyc PAM.pyc +) + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild