rebuilt without --enable-obsolete-rpc [release 2.26-2mamba;Sat Sep 30 2017]

This commit is contained in:
Silvan Calarco 2024-01-05 23:07:55 +01:00
parent 582de0627d
commit 52e183d78c

View File

@ -107,7 +107,7 @@
%endif %endif
Name: glibc Name: glibc
Version: 2.25 Version: 2.26
Release: 2mamba Release: 2mamba
Summary: The GNU libc libraries Summary: The GNU libc libraries
Group: System/Libraries Group: System/Libraries
@ -329,7 +329,7 @@ Cross Platform glibc for %{_target_platform}.
%prep %prep
%setup -q -n %{name}-%{version} %setup -q -n %{name}-%{version}
# -D -T #-D -T
#:<< ___EOF #:<< ___EOF
%patch5 -p1 %patch5 -p1
%patch17 -p1 %patch17 -p1
@ -538,7 +538,7 @@ function build_glibc() {
# hack, diable nptl for bootstrap gcc # hack, diable nptl for bootstrap gcc
opt_tls="--enable-add-ons --with-tls --disable-sanity-checks" opt_tls="--enable-add-ons --with-tls --disable-sanity-checks"
%else %else
opt_tls="--enable-add-ons --with-tls --enable-obsolete-rpc" opt_tls="--enable-add-ons --with-tls"
%endif %endif
%if %{build_selinux} %if %{build_selinux}
@ -640,11 +640,18 @@ rm -f %{buildroot}%{_sbindir}/nscd
%endif %endif
# install rpc headers removed since glibc 2.14 but required by e.g. samba and libtirpc # install rpc headers removed since glibc 2.14 but required by e.g. samba and libtirpc
install -d -m0755 %{buildroot}%{glibc_includedir}/rpc #install -d -m0755 %{buildroot}%{glibc_includedir}/rpc
cp -v ../glibc-%{version}/sunrpc/rpc/*.h %{buildroot}%{glibc_includedir}/rpc/ #cp -v ../glibc-%{version}/sunrpc/rpc/*.h %{buildroot}%{glibc_includedir}/rpc/
install -d -m0755 %{buildroot}%{glibc_includedir}/rpcsvc #install -d -m0755 %{buildroot}%{glibc_includedir}/rpcsvc
cp -v ../glibc-%{version}/sunrpc/rpcsvc/*.h %{buildroot}%{glibc_includedir}/rpcsvc/ #cp -v ../glibc-%{version}/sunrpc/rpcsvc/*.h %{buildroot}%{glibc_includedir}/rpcsvc/
cp -v ../glibc-%{version}/nis/rpcsvc/*.h %{buildroot}%{glibc_includedir}/rpcsvc/ #cp -v ../glibc-%{version}/nis/rpcsvc/*.h %{buildroot}%{glibc_includedir}/rpcsvc/
rm -f %{buildroot}%{_libdir}/libnsl.*
%if "%{_target_platform}" == "%{_host}"
# 2.26: workaround for header required by external libnss_nis
install -D -m0644 resolv/mapv4v6addr.h %{buildroot}%{_includedir}/resolv/mapv4v6addr.h
%endif
%if "%{?stage1}" != "1" %if "%{?stage1}" != "1"
## strip debug symbols ## strip debug symbols
@ -773,7 +780,7 @@ exit 0
%{_bindir}/localedef %{_bindir}/localedef
%{_bindir}/makedb %{_bindir}/makedb
%{_bindir}/pldd %{_bindir}/pldd
%{_bindir}/rpcgen #%{_bindir}/rpcgen
%{_bindir}/sprof %{_bindir}/sprof
%{_bindir}/tzselect %{_bindir}/tzselect
/sbin/sln /sbin/sln
@ -862,7 +869,7 @@ exit 0
%{_bindir}/localedef %{_bindir}/localedef
#%{_bindir}/makedb #%{_bindir}/makedb
%{_bindir}/pldd %{_bindir}/pldd
%{_bindir}/rpcgen #%{_bindir}/rpcgen
%{_bindir}/sprof %{_bindir}/sprof
%{_bindir}/tzselect %{_bindir}/tzselect
/sbin/sln /sbin/sln
@ -926,6 +933,12 @@ exit 0
%endif %endif
%changelog %changelog
* Sat Sep 30 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 2.26-2mamba
- rebuilt without --enable-obsolete-rpc
* Sat Sep 09 2017 Automatic Build System <autodist@mambasoft.it> 2.26-1mamba
- automatic version update by autodist
* Sun Jul 23 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 2.25-2mamba * Sun Jul 23 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 2.25-2mamba
- patch to fix unexported function in libresolv breaking runtime and buildtime things - patch to fix unexported function in libresolv breaking runtime and buildtime things