From 1e072aa3743d12231e89f1b7107b5e526e67fd93 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Thu, 30 Nov 2006 17:32:26 +0000 Subject: [PATCH] 2.5.90-9 --- glibc.spec | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/glibc.spec b/glibc.spec index ab2d89b..5c57cc0 100644 --- a/glibc.spec +++ b/glibc.spec @@ -945,7 +945,7 @@ cd .. %if %{buildpower6} cd build-%{nptl_target_cpu}-linuxnptl-power6 -mkdir -p $RPM_BUILD_ROOT/%{_lib}/power6/ +mkdir -p $RPM_BUILD_ROOT/%{_lib}/power6{,x} cp -a libc.so $RPM_BUILD_ROOT/%{_lib}/power6/`basename $RPM_BUILD_ROOT/%{_lib}/libc-*.so` ln -sf `basename $RPM_BUILD_ROOT/%{_lib}/libc-*.so` $RPM_BUILD_ROOT/%{_lib}/power6/`basename $RPM_BUILD_ROOT/%{_lib}/libc.so.*` cp -a math/libm.so $RPM_BUILD_ROOT/%{_lib}/power6/`basename $RPM_BUILD_ROOT/%{_lib}/libm-*.so` @@ -958,10 +958,18 @@ cp -a rt/librt.so $RPM_BUILD_ROOT/%{_lib}/power6/`basename $RPM_BUILD_ROOT/%{_li ln -sf `basename $RPM_BUILD_ROOT/%{_lib}/librt-*.so` $RPM_BUILD_ROOT/%{_lib}/power6/$librtso cp -a nptl_db/libthread_db.so $RPM_BUILD_ROOT/%{_lib}/power6/`basename $RPM_BUILD_ROOT/%{_lib}/libthread_db-*.so` ln -sf `basename $RPM_BUILD_ROOT/%{_lib}/libthread_db-*.so` $RPM_BUILD_ROOT/%{_lib}/power6/`basename $RPM_BUILD_ROOT/%{_lib}/libthread_db.so.*` +pushd $RPM_BUILD_ROOT/%{_lib}/power6x +ln -sf ../power6/*.so . +cp -a ../power6/*.so.* . +popd %ifarch %{rtkaioarches} -mkdir -p $RPM_BUILD_ROOT/%{_lib}/rtkaio/power6 +mkdir -p $RPM_BUILD_ROOT/%{_lib}/rtkaio/power6{,x} cp -a rtkaio/librtkaio.so $RPM_BUILD_ROOT/%{_lib}/rtkaio/power6/`basename $RPM_BUILD_ROOT/%{_lib}/librt-*.so | sed s/librt-/librtkaio-/` ln -sf `basename $RPM_BUILD_ROOT/%{_lib}/rtkaio/power6/librtkaio-*.so` $RPM_BUILD_ROOT/%{_lib}/rtkaio/power6/$librtso +pushd $RPM_BUILD_ROOT/%{_lib}/rtkaio/power6x +ln -sf ../power6/*.so . +cp -a ../power6/*.so.* . +popd %endif cd .. %endif @@ -1452,8 +1460,10 @@ rm -f *.filelist* %endif %if %{buildpower6} %dir /%{_lib}/power6 +%dir /%{_lib}/power6x %ifarch %{rtkaioarches} %dir /%{_lib}/rtkaio/power6 +%dir /%{_lib}/rtkaio/power6x %endif %endif %ifarch s390x @@ -1547,6 +1557,8 @@ rm -f *.filelist* in __libc_start_main instead) - add unwind info for x86-64 restore_rt signal return landing pad (#217087) +- add power6x subdir to /%{_lib}/ and /%{_lib}/rtkaio/, + link all libs from ../power6/* into them * Tue Nov 28 2006 Jakub Jelinek 2.5.90-8 - fix svc_run (#216834, BZ#3559)