]> git.pld-linux.org Git - packages/rpm-pld-macros.git/commitdiff
- do not create build-id links if debug packages are disabled auto/th/rpm-pld-macros-2.000-2
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 23 Feb 2021 01:04:46 +0000 (02:04 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Tue, 23 Feb 2021 01:04:46 +0000 (02:04 +0100)
- rel 2

macros.pld
rpm-pld-macros.spec

index e669a0fc6813e791eae2bc33eff877dcbcc1b1ce..8d35ad5f7c3e8f0840fae175a1b883cf0f42d542 100644 (file)
@@ -642,6 +642,8 @@ LC_ALL=C.UTF-8 %{__meson} \
 %%prep\
 %{nil}
 
+%_build_id_links       %{expand:%%define __dic_%{?_enable_debug_packages} 1}%{?__dic_1:compat}%{?__dic_0:none}%{expand:%%undefine __dic_%{?_enable_debug_packages}}
+
 # If non-empty "debug" macro defined, add "dbg" suffix to release number
 %_rpmfilename          %%{NAME}-%%{VERSION}-%%{RELEASE}%{?debug:dbg}.%%{ARCH}.rpm
 
index d0258b7f7bee32b4f75ea78b8d6d621c3d26bc75..e34172d7e39cbf9968bbc10055b5650dc2da01d4 100644 (file)
@@ -6,7 +6,7 @@ Summary:        PLD Linux RPM macros
 Summary(pl.UTF-8):     Makra RPM dla Linuksa PLD
 Name:          rpm-pld-macros
 Version:       %{rpm_macros_rev}
-Release:       1
+Release:       2
 License:       GPL v2+
 Group:         Development/Building
 Source0:       macros.pld
This page took 0.290422 seconds and 4 git commands to generate.