From 83d355f1284b2896e83ba27d8c7006006e65133c446c97fa603b5a6a27b5b42d Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Mon, 3 Apr 2017 06:47:31 +0000 Subject: [PATCH 1/2] Accepting request 484254 from home:bmwiedemann:branches:Base:System make tests pass when user does not want debuginfo (boo#1031556) OBS-URL: https://build.opensuse.org/request/show/484254 OBS-URL: https://build.opensuse.org/package/show/Base:System/elfutils?expand=0&rev=89 --- elfutils.changes | 5 +++++ elfutils.spec | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/elfutils.changes b/elfutils.changes index 4c4c85b..098cc12 100644 --- a/elfutils.changes +++ b/elfutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Mar 31 19:02:31 UTC 2017 - bwiedemann@suse.com + +- make tests pass when user does not want debuginfo (boo#1031556) + ------------------------------------------------------------------- Thu Mar 30 08:07:10 UTC 2017 - rguenther@suse.com diff --git a/elfutils.spec b/elfutils.spec index 4584196..b116149 100644 --- a/elfutils.spec +++ b/elfutils.spec @@ -154,9 +154,11 @@ find . -type f -regex ".*\.c\|.*\.cpp\|.*\.h" -exec sed -i "s/__DATE__/${DATE}/g # similarly predictable value [upstream default is hostname + date] MODVERSION="suse-build `eval echo ${DATE} ${TIME}`" sed --in-place "s/^MODVERSION=.*\$/MODVERSION=\"${MODVERSION}\"/" configure.ac +export CFLAGS="%optflags" +CFLAGS+=" -g" # make tests pass when user does not want debuginfo (boo#1031556) %ifarch %sparc # Small PIC model not sufficient -export CFLAGS="%optflags -fPIC" +CFLAGS+=" -fPIC" %endif autoreconf -fi %configure --program-prefix=eu- From 61111f74dfd0fec64d87f611d1a6db8803b9efbd05dc01e036767faddfb4f39d Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Mon, 10 Apr 2017 13:27:43 +0000 Subject: [PATCH 2/2] Accepting request 486577 from home:jengelh:branches:Base:System - Add missing ldconfig calls for libasm1 OBS-URL: https://build.opensuse.org/request/show/486577 OBS-URL: https://build.opensuse.org/package/show/Base:System/elfutils?expand=0&rev=90 --- elfutils.changes | 5 +++++ elfutils.spec | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/elfutils.changes b/elfutils.changes index 098cc12..1640ef2 100644 --- a/elfutils.changes +++ b/elfutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Apr 7 19:16:26 UTC 2017 - jengelh@inai.de + +- Add missing ldconfig calls for libasm1 + ------------------------------------------------------------------- Fri Mar 31 19:02:31 UTC 2017 - bwiedemann@suse.com diff --git a/elfutils.spec b/elfutils.spec index b116149..a808688 100644 --- a/elfutils.spec +++ b/elfutils.spec @@ -171,12 +171,16 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la ls -lR $RPM_BUILD_ROOT%{_libdir}/libelf* %find_lang %{name} +%post -n libasm1 -p /sbin/ldconfig + %post -n libebl1 -p /sbin/ldconfig %post -n libelf1 -p /sbin/ldconfig %post -n libdw1 -p /sbin/ldconfig +%postun -n libasm1 -p /sbin/ldconfig + %postun -n libebl1 -p /sbin/ldconfig %postun -n libelf1 -p /sbin/ldconfig