From 52e183d78cf33ac7a180f9091ef31de856997034 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 23:07:55 +0100 Subject: [PATCH] rebuilt without --enable-obsolete-rpc [release 2.26-2mamba;Sat Sep 30 2017] --- glibc.spec | 33 +++++++++++++++++++++++---------- 1 file changed, 23 insertions(+), 10 deletions(-) diff --git a/glibc.spec b/glibc.spec index 497fb0c..3f03dc3 100644 --- a/glibc.spec +++ b/glibc.spec @@ -107,7 +107,7 @@ %endif Name: glibc -Version: 2.25 +Version: 2.26 Release: 2mamba Summary: The GNU libc libraries Group: System/Libraries @@ -329,7 +329,7 @@ Cross Platform glibc for %{_target_platform}. %prep %setup -q -n %{name}-%{version} -# -D -T +#-D -T #:<< ___EOF %patch5 -p1 %patch17 -p1 @@ -538,7 +538,7 @@ function build_glibc() { # hack, diable nptl for bootstrap gcc opt_tls="--enable-add-ons --with-tls --disable-sanity-checks" %else - opt_tls="--enable-add-ons --with-tls --enable-obsolete-rpc" + opt_tls="--enable-add-ons --with-tls" %endif %if %{build_selinux} @@ -640,11 +640,18 @@ rm -f %{buildroot}%{_sbindir}/nscd %endif # install rpc headers removed since glibc 2.14 but required by e.g. samba and libtirpc -install -d -m0755 %{buildroot}%{glibc_includedir}/rpc -cp -v ../glibc-%{version}/sunrpc/rpc/*.h %{buildroot}%{glibc_includedir}/rpc/ -install -d -m0755 %{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/ +#install -d -m0755 %{buildroot}%{glibc_includedir}/rpc +#cp -v ../glibc-%{version}/sunrpc/rpc/*.h %{buildroot}%{glibc_includedir}/rpc/ +#install -d -m0755 %{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/ + +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" ## strip debug symbols @@ -773,7 +780,7 @@ exit 0 %{_bindir}/localedef %{_bindir}/makedb %{_bindir}/pldd -%{_bindir}/rpcgen +#%{_bindir}/rpcgen %{_bindir}/sprof %{_bindir}/tzselect /sbin/sln @@ -862,7 +869,7 @@ exit 0 %{_bindir}/localedef #%{_bindir}/makedb %{_bindir}/pldd -%{_bindir}/rpcgen +#%{_bindir}/rpcgen %{_bindir}/sprof %{_bindir}/tzselect /sbin/sln @@ -926,6 +933,12 @@ exit 0 %endif %changelog +* Sat Sep 30 2017 Silvan Calarco 2.26-2mamba +- rebuilt without --enable-obsolete-rpc + +* Sat Sep 09 2017 Automatic Build System 2.26-1mamba +- automatic version update by autodist + * Sun Jul 23 2017 Silvan Calarco 2.25-2mamba - patch to fix unexported function in libresolv breaking runtime and buildtime things