From 222f9b110b19c9110fe3dfcad39ace8e380849d2 Mon Sep 17 00:00:00 2001 From: Alexander Stefanov Date: Thu, 7 May 2020 23:25:22 +0000 Subject: [PATCH] remove -x permission to avoid perl bloat --- ppp.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ppp.spec b/ppp.spec index 6626778..414a1af 100644 --- a/ppp.spec +++ b/ppp.spec @@ -220,6 +220,9 @@ patch -p1 < %{PATCH16} tar -xJf %{SOURCE112} +chmod go+r scripts/* +find scripts -type f | xargs chmod a-x + # lib64 fixes perl -pi -e "s|^(LIBDIR.*)\\\$\(DESTDIR\)/lib|\1\\\$(INSTROOT)%{_libdir}|g" pppd/Makefile.linux pppd/plugins/Makefile.linux pppd/plugins/{pppoatm,radius,rp-pppoe,pppol2tp}/Makefile.linux perl -pi -e "s|(--prefix=/usr)|\1 --libdir=%{_libdir}|g" pppd/plugins/radius/Makefile.linux