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