[packages/rpm-pld-macros] - remove overload for debuginfo as it creates a duplicate package with rpm 4.20, 2.041

baggins baggins at pld-linux.org
Wed Feb 5 03:47:41 CET 2025


commit 6529bd97796a5bf08855d72bc6366a36f1147f12
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Wed Feb 5 03:02:05 2025 +0100

    - remove overload for debuginfo as it creates a duplicate package with rpm 4.20, 2.041

 macros.pld          | 8 --------
 rpm-pld-macros.spec | 2 +-
 2 files changed, 1 insertion(+), 9 deletions(-)
---
diff --git a/rpm-pld-macros.spec b/rpm-pld-macros.spec
index 67fa19f..9b22503 100644
--- a/rpm-pld-macros.spec
+++ b/rpm-pld-macros.spec
@@ -1,4 +1,4 @@
-%define		rpm_macros_rev	2.040
+%define		rpm_macros_rev	2.041
 %define		find_lang_rev	1.42
 # split into individual X_prov_ver if there is a reason to desync
 %define		prov_ver	4.15
diff --git a/macros.pld b/macros.pld
index f3e8f94..135c64e 100644
--- a/macros.pld
+++ b/macros.pld
@@ -610,14 +610,6 @@ LINKFLAGS="%{rpmldflags}" \
 
 #-----------------------------------------------------------------
 
-# overload to insert debuginfo package
-%prep \
-%if 0%{?_enable_debug_packages}\
-%{debug_package}\
-%endif\
-%%prep\
-%{nil}
-
 %_build_id_links	%{expand:%%define __dic_%{?_enable_debug_packages} 1}%{?__dic_1:alldebug}%{?__dic_0:none}%{expand:%%undefine __dic_%{?_enable_debug_packages}}
 
 # If non-empty "debug" macro defined, add "dbg" suffix to release number
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm-pld-macros.git/commitdiff/6529bd97796a5bf08855d72bc6366a36f1147f12



More information about the pld-cvs-commit mailing list