SHA256
1
0
forked from pool/elfutils

Accepting request 487068 from Base:System

1

OBS-URL: https://build.opensuse.org/request/show/487068
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=57
This commit is contained in:
Dominique Leuenberger 2017-04-25 06:55:05 +00:00 committed by Git OBS Bridge
commit d99e6a8924
2 changed files with 17 additions and 1 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
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
- make tests pass when user does not want debuginfo (boo#1031556)
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Mar 30 08:07:10 UTC 2017 - rguenther@suse.com Thu Mar 30 08:07:10 UTC 2017 - rguenther@suse.com

View File

@ -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] # similarly predictable value [upstream default is hostname + date]
MODVERSION="suse-build `eval echo ${DATE} ${TIME}`" MODVERSION="suse-build `eval echo ${DATE} ${TIME}`"
sed --in-place "s/^MODVERSION=.*\$/MODVERSION=\"${MODVERSION}\"/" configure.ac 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 %ifarch %sparc
# Small PIC model not sufficient # Small PIC model not sufficient
export CFLAGS="%optflags -fPIC" CFLAGS+=" -fPIC"
%endif %endif
autoreconf -fi autoreconf -fi
%configure --program-prefix=eu- %configure --program-prefix=eu-
@ -169,12 +171,16 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
ls -lR $RPM_BUILD_ROOT%{_libdir}/libelf* ls -lR $RPM_BUILD_ROOT%{_libdir}/libelf*
%find_lang %{name} %find_lang %{name}
%post -n libasm1 -p /sbin/ldconfig
%post -n libebl1 -p /sbin/ldconfig %post -n libebl1 -p /sbin/ldconfig
%post -n libelf1 -p /sbin/ldconfig %post -n libelf1 -p /sbin/ldconfig
%post -n libdw1 -p /sbin/ldconfig %post -n libdw1 -p /sbin/ldconfig
%postun -n libasm1 -p /sbin/ldconfig
%postun -n libebl1 -p /sbin/ldconfig %postun -n libebl1 -p /sbin/ldconfig
%postun -n libelf1 -p /sbin/ldconfig %postun -n libelf1 -p /sbin/ldconfig