mirror of
https://abf.rosa.ru/djam/ppp.git
synced 2025-02-23 14:12:59 +00:00
remove -x permission to avoid perl bloat
This commit is contained in:
parent
c14476bbd9
commit
222f9b110b
1 changed files with 3 additions and 0 deletions
3
ppp.spec
3
ppp.spec
|
@ -220,6 +220,9 @@ patch -p1 < %{PATCH16}
|
||||||
|
|
||||||
tar -xJf %{SOURCE112}
|
tar -xJf %{SOURCE112}
|
||||||
|
|
||||||
|
chmod go+r scripts/*
|
||||||
|
find scripts -type f | xargs chmod a-x
|
||||||
|
|
||||||
# lib64 fixes
|
# 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|^(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
|
perl -pi -e "s|(--prefix=/usr)|\1 --libdir=%{_libdir}|g" pppd/plugins/radius/Makefile.linux
|
||||||
|
|
Loading…
Add table
Reference in a new issue