Browse code

rpm: macros: set _build_id_links to alldebug

This parameter controls how to generate build-id links.
Default behavior is 'compat' (new feature in rpm-4.14)
which packages build-id links of main binaries into the main package.
In order to package then into -debuginfo subpackage - alldebug
behavior should be specified.

Change-Id: I97656821843c2229d3eeaaa0b744cff51567ad46
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/5826
Reviewed-by: Anish Swaminathan <anishs@vmware.com>
Tested-by: Anish Swaminathan <anishs@vmware.com>

Alexey Makhalov authored on 2018/09/29 09:19:48
Showing 2 changed files
... ...
@@ -35,6 +35,7 @@
35 35
 %_enable_debug_packages 1
36 36
 %_include_minidebuginfo 1
37 37
 %_use_internal_dependency_generator 1
38
+%_build_id_links alldebug
38 39
 
39 40
 %__os_install_post    \
40 41
     %{_rpmconfigdir}/brp-compress \
... ...
@@ -4,7 +4,7 @@
4 4
 Summary:        Package manager
5 5
 Name:           rpm
6 6
 Version:        4.14.2
7
-Release:        1%{?dist}
7
+Release:        2%{?dist}
8 8
 License:        GPLv2+
9 9
 URL:            http://rpm.org
10 10
 Group:          Applications/System
... ...
@@ -257,6 +257,8 @@ rm -rf %{buildroot}
257 257
 %{python3_sitelib}/*
258 258
 
259 259
 %changelog
260
+*   Fri Sep 28 2018 Alexey Makhalov <amakhalov@vmware.com> 4.14.2-2
261
+-   macros: set _build_id_links to alldebug
260 262
 *   Fri Sep 14 2018 Keerthana K <keerthanak@vmware.com> 4.14.2-1
261 263
 -   Update to version 4.14.2
262 264
 *   Thu Dec 21 2017 Xiaolin Li <xiaolinl@vmware.com> 4.13.0.1-7