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