From 57fb210c8b46c416e9e17017be595e7cdfa4942b Mon Sep 17 00:00:00 2001 From: David Spencer Date: Sun, 1 Jul 2018 10:51:17 +0100 Subject: python/python-evdev: Fix permissions. Upstream shipped the 1.0.0 release with 660 permissions. This led to files in the built package being readable only by root (notably in the egg-info directory, but also the licence), which broke system/ds4drv, and possibly libinput. Signed-off-by: David Spencer --- python/python-evdev/python-evdev.SlackBuild | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python/python-evdev/python-evdev.SlackBuild b/python/python-evdev/python-evdev.SlackBuild index 39f0176749..a4081dfcbe 100644 --- a/python/python-evdev/python-evdev.SlackBuild +++ b/python/python-evdev/python-evdev.SlackBuild @@ -70,6 +70,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# ... but upstream shipped evdev-1.0.0 with 660 permissions everywhere, so: +find -L . -perm 660 -exec chmod 644 {} \; + python setup.py install --root=$PKG if hash python3 ; then -- cgit v1.2.3-80-g2a13