- Disable debuginfo dwz compression for baselibs packages

OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=465
This commit is contained in:
Michael Schröder 2018-05-07 14:38:17 +00:00 committed by Git OBS Bridge
parent cf783a56e1
commit 29ba0a0748
2 changed files with 17 additions and 2 deletions

View File

@ -1,5 +1,14 @@
--- ./macros.in.orig 2017-12-07 16:01:58.933485867 +0000
+++ ./macros.in 2017-12-07 16:02:25.273409983 +0000
--- ./macros.in.orig 2018-05-07 14:27:45.991050600 +0000
+++ ./macros.in 2018-05-07 14:28:12.426978605 +0000
@@ -184,7 +184,7 @@
%{?_unique_build_ids:--build-id-seed "%{VERSION}-%{RELEASE}"} \\\
%{?_unique_debug_names:--unique-debug-suffix "-%{VERSION}-%{RELEASE}.%{_arch}"} \\\
%{?_unique_debug_srcs:--unique-debug-src-base "%{name}-%{VERSION}-%{RELEASE}.%{_arch}"} \\\
- %{?_find_debuginfo_dwz_opts} \\\
+ %{lua:if not posix.access(rpm.expand("%_sourcedir/baselibs.conf"), "r") then print(rpm.expand("%{?_find_debuginfo_dwz_opts}")) end} \\\
%{?_find_debuginfo_opts} \\\
%{?_debugsource_packages:-S debugsourcefiles.list} \\\
"%{_builddir}/%{?buildsubdir}"\
@@ -224,7 +224,8 @@ package or when debugging this package.\
%endif\
%{nil}

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon May 7 16:36:45 CEST 2018 - mls@suse.de
- Disable debuginfo dwz compression for baselibs packages
[bnc#1092189]
-------------------------------------------------------------------
Thu Apr 19 11:53:52 CEST 2018 - mls@suse.de