Disable Sun RPC interfaces (#1531540)
This commit is contained in:
parent
95cc2e8d4c
commit
d62730de90
11
glibc.spec
11
glibc.spec
|
@ -908,7 +908,6 @@ build()
|
|||
--build=%{target} \
|
||||
--enable-stack-protector=strong \
|
||||
--enable-tunables \
|
||||
--enable-obsolete-rpc \
|
||||
--enable-obsolete-nsl \
|
||||
--enable-systemtap \
|
||||
${core_with_options} \
|
||||
|
@ -1120,12 +1119,6 @@ popd
|
|||
rm -f $RPM_BUILD_ROOT%{_libdir}/libNoVersion*
|
||||
rm -f $RPM_BUILD_ROOT/%{_lib}/libNoVersion*
|
||||
|
||||
# rquota.x and rquota.h are now provided by quota
|
||||
rm -f $RPM_BUILD_ROOT%{_prefix}/include/rpcsvc/rquota.[hx]
|
||||
|
||||
# In F7+ this is provided by rpcbind rpm
|
||||
rm -f $RPM_BUILD_ROOT%{_sbindir}/rpcinfo
|
||||
|
||||
# Remove the old nss modules.
|
||||
rm -f ${RPM_BUILD_ROOT}/%{_lib}/libnss1-*
|
||||
rm -f ${RPM_BUILD_ROOT}/%{_lib}/libnss-*.so.1
|
||||
|
@ -1372,12 +1365,12 @@ sed -i -e '\|%{_libdir}/lib.*_p.a|d' \
|
|||
|
||||
# Put some static files into the devel package.
|
||||
grep '%{_libdir}/lib.*\.a' < rpm.filelist \
|
||||
| grep '/lib\(\(c\|pthread\|nldbl\|mvec\)_nonshared\|g\|ieee\|mcheck\|rpcsvc\)\.a$' \
|
||||
| grep '/lib\(\(c\|pthread\|nldbl\|mvec\)_nonshared\|g\|ieee\|mcheck\)\.a$' \
|
||||
>> devel.filelist
|
||||
|
||||
# Put the rest of the static files into the static package.
|
||||
grep '%{_libdir}/lib.*\.a' < rpm.filelist \
|
||||
| grep -v '/lib\(\(c\|pthread\|nldbl\|mvec\)_nonshared\|g\|ieee\|mcheck\|rpcsvc\)\.a$' \
|
||||
| grep -v '/lib\(\(c\|pthread\|nldbl\|mvec\)_nonshared\|g\|ieee\|mcheck\)\.a$' \
|
||||
> static.filelist
|
||||
|
||||
# Put all of the object files and *.so (not the versioned ones) into the
|
||||
|
|
Loading…
Reference in New Issue