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} \
|
--build=%{target} \
|
||||||
--enable-stack-protector=strong \
|
--enable-stack-protector=strong \
|
||||||
--enable-tunables \
|
--enable-tunables \
|
||||||
--enable-obsolete-rpc \
|
|
||||||
--enable-obsolete-nsl \
|
--enable-obsolete-nsl \
|
||||||
--enable-systemtap \
|
--enable-systemtap \
|
||||||
${core_with_options} \
|
${core_with_options} \
|
||||||
@ -1120,12 +1119,6 @@ popd
|
|||||||
rm -f $RPM_BUILD_ROOT%{_libdir}/libNoVersion*
|
rm -f $RPM_BUILD_ROOT%{_libdir}/libNoVersion*
|
||||||
rm -f $RPM_BUILD_ROOT/%{_lib}/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.
|
# Remove the old nss modules.
|
||||||
rm -f ${RPM_BUILD_ROOT}/%{_lib}/libnss1-*
|
rm -f ${RPM_BUILD_ROOT}/%{_lib}/libnss1-*
|
||||||
rm -f ${RPM_BUILD_ROOT}/%{_lib}/libnss-*.so.1
|
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.
|
# Put some static files into the devel package.
|
||||||
grep '%{_libdir}/lib.*\.a' < rpm.filelist \
|
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
|
>> devel.filelist
|
||||||
|
|
||||||
# Put the rest of the static files into the static package.
|
# Put the rest of the static files into the static package.
|
||||||
grep '%{_libdir}/lib.*\.a' < rpm.filelist \
|
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
|
> static.filelist
|
||||||
|
|
||||||
# Put all of the object files and *.so (not the versioned ones) into the
|
# Put all of the object files and *.so (not the versioned ones) into the
|
||||||
|
Loading…
Reference in New Issue
Block a user