From 43b58f510980f0bfa93e7fcd53280f13d71bba431dbcaf1403a9782d47fb6d3a Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Mon, 11 Apr 2016 09:37:11 +0000 Subject: [PATCH] Accepting request 387393 from home:Andreas_Schwab:Factory - Add compatibility symlinks for LSB 3.0 (fate#318933) OBS-URL: https://build.opensuse.org/request/show/387393 OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=431 --- glibc-testsuite.changes | 5 +++++ glibc-testsuite.spec | 24 ++++++++++++++++++++++++ glibc-utils.changes | 5 +++++ glibc-utils.spec | 24 ++++++++++++++++++++++++ glibc.changes | 5 +++++ glibc.spec | 24 ++++++++++++++++++++++++ 6 files changed, 87 insertions(+) diff --git a/glibc-testsuite.changes b/glibc-testsuite.changes index 14134f0..2d69bea 100644 --- a/glibc-testsuite.changes +++ b/glibc-testsuite.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Apr 11 08:00:07 UTC 2016 - schwab@suse.de + +- Add compatibility symlinks for LSB 3.0 (fate#318933) + ------------------------------------------------------------------- Mon Mar 21 11:57:49 UTC 2016 - schwab@suse.de diff --git a/glibc-testsuite.spec b/glibc-testsuite.spec index 352e65f..05d9b9b 100644 --- a/glibc-testsuite.spec +++ b/glibc-testsuite.spec @@ -987,6 +987,26 @@ rm -rf %{buildroot}/usr/lib/tmpfiles.d rm -rf %{buildroot}/run/nscd %endif # i686 +# LSB +%ifarch %ix86 +ln -sf /%{_lib}/ld-linux.so.2 $RPM_BUILD_ROOT/%{_lib}/ld-lsb.so.3 +%endif +%ifarch x86_64 +ln -sf /%{_lib}/ld-linux-x86-64.so.2 $RPM_BUILD_ROOT/%{_lib}/ld-lsb-x86-64.so.3 +%endif +%ifarch ppc +ln -sf /%{_lib}/ld.so.1 $RPM_BUILD_ROOT/%{_lib}/ld-lsb-ppc32.so.3 +%endif +%ifarch ppc64 +ln -sf /%{_lib}/ld64.so.1 $RPM_BUILD_ROOT/%{_lib}/ld-lsb-ppc64.so.3 +%endif +%ifarch s390 +ln -sf /%{_lib}/ld.so.1 $RPM_BUILD_ROOT/%{_lib}/ld-lsb-s390.so.3 +%endif +%ifarch s390x +ln -sf /%{_lib}/ld64.so.1 $RPM_BUILD_ROOT/%{_lib}/ld-lsb-s390x.so.3 +%endif + %endif # %{normal_build} %if %{utils_build} @@ -1112,6 +1132,10 @@ exit 0 /lib/ld-linux-aarch64.so.1 /%{_lib}/ld-linux-aarch64.so.1 %endif +%ifarch %ix86 x86_64 ppc ppc64 s390 s390x +# LSB +/%{_lib}/*-lsb*.so.3 +%endif /%{_lib}/libBrokenLocale-%{version}.so /%{_lib}/libBrokenLocale.so.1 diff --git a/glibc-utils.changes b/glibc-utils.changes index 14134f0..2d69bea 100644 --- a/glibc-utils.changes +++ b/glibc-utils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Apr 11 08:00:07 UTC 2016 - schwab@suse.de + +- Add compatibility symlinks for LSB 3.0 (fate#318933) + ------------------------------------------------------------------- Mon Mar 21 11:57:49 UTC 2016 - schwab@suse.de diff --git a/glibc-utils.spec b/glibc-utils.spec index 590cfad..58435a2 100644 --- a/glibc-utils.spec +++ b/glibc-utils.spec @@ -987,6 +987,26 @@ rm -rf %{buildroot}/usr/lib/tmpfiles.d rm -rf %{buildroot}/run/nscd %endif # i686 +# LSB +%ifarch %ix86 +ln -sf /%{_lib}/ld-linux.so.2 $RPM_BUILD_ROOT/%{_lib}/ld-lsb.so.3 +%endif +%ifarch x86_64 +ln -sf /%{_lib}/ld-linux-x86-64.so.2 $RPM_BUILD_ROOT/%{_lib}/ld-lsb-x86-64.so.3 +%endif +%ifarch ppc +ln -sf /%{_lib}/ld.so.1 $RPM_BUILD_ROOT/%{_lib}/ld-lsb-ppc32.so.3 +%endif +%ifarch ppc64 +ln -sf /%{_lib}/ld64.so.1 $RPM_BUILD_ROOT/%{_lib}/ld-lsb-ppc64.so.3 +%endif +%ifarch s390 +ln -sf /%{_lib}/ld.so.1 $RPM_BUILD_ROOT/%{_lib}/ld-lsb-s390.so.3 +%endif +%ifarch s390x +ln -sf /%{_lib}/ld64.so.1 $RPM_BUILD_ROOT/%{_lib}/ld-lsb-s390x.so.3 +%endif + %endif # %{normal_build} %if %{utils_build} @@ -1112,6 +1132,10 @@ exit 0 /lib/ld-linux-aarch64.so.1 /%{_lib}/ld-linux-aarch64.so.1 %endif +%ifarch %ix86 x86_64 ppc ppc64 s390 s390x +# LSB +/%{_lib}/*-lsb*.so.3 +%endif /%{_lib}/libBrokenLocale-%{version}.so /%{_lib}/libBrokenLocale.so.1 diff --git a/glibc.changes b/glibc.changes index 14134f0..2d69bea 100644 --- a/glibc.changes +++ b/glibc.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Apr 11 08:00:07 UTC 2016 - schwab@suse.de + +- Add compatibility symlinks for LSB 3.0 (fate#318933) + ------------------------------------------------------------------- Mon Mar 21 11:57:49 UTC 2016 - schwab@suse.de diff --git a/glibc.spec b/glibc.spec index 0d98dde..5e019f9 100644 --- a/glibc.spec +++ b/glibc.spec @@ -987,6 +987,26 @@ rm -rf %{buildroot}/usr/lib/tmpfiles.d rm -rf %{buildroot}/run/nscd %endif # i686 +# LSB +%ifarch %ix86 +ln -sf /%{_lib}/ld-linux.so.2 $RPM_BUILD_ROOT/%{_lib}/ld-lsb.so.3 +%endif +%ifarch x86_64 +ln -sf /%{_lib}/ld-linux-x86-64.so.2 $RPM_BUILD_ROOT/%{_lib}/ld-lsb-x86-64.so.3 +%endif +%ifarch ppc +ln -sf /%{_lib}/ld.so.1 $RPM_BUILD_ROOT/%{_lib}/ld-lsb-ppc32.so.3 +%endif +%ifarch ppc64 +ln -sf /%{_lib}/ld64.so.1 $RPM_BUILD_ROOT/%{_lib}/ld-lsb-ppc64.so.3 +%endif +%ifarch s390 +ln -sf /%{_lib}/ld.so.1 $RPM_BUILD_ROOT/%{_lib}/ld-lsb-s390.so.3 +%endif +%ifarch s390x +ln -sf /%{_lib}/ld64.so.1 $RPM_BUILD_ROOT/%{_lib}/ld-lsb-s390x.so.3 +%endif + %endif # %{normal_build} %if %{utils_build} @@ -1112,6 +1132,10 @@ exit 0 /lib/ld-linux-aarch64.so.1 /%{_lib}/ld-linux-aarch64.so.1 %endif +%ifarch %ix86 x86_64 ppc ppc64 s390 s390x +# LSB +/%{_lib}/*-lsb*.so.3 +%endif /%{_lib}/libBrokenLocale-%{version}.so /%{_lib}/libBrokenLocale.so.1