[packages/rpm-pld-macros] - make debugssource packages disablable - 2.005

baggins baggins at pld-linux.org
Fri Apr 2 22:45:07 CEST 2021


commit d5107b07ba075358ff78548c66be152e33b08d57
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Fri Apr 2 22:44:33 2021 +0200

    - make debugssource packages disablable
    - 2.005

 macros.pld          | 4 +++-
 rpm-pld-macros.spec | 4 ++--
 2 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/rpm-pld-macros.spec b/rpm-pld-macros.spec
index bc6d2e5..5d1a516 100644
--- a/rpm-pld-macros.spec
+++ b/rpm-pld-macros.spec
@@ -1,4 +1,4 @@
-%define		rpm_macros_rev	2.004
+%define		rpm_macros_rev	2.005
 %define		find_lang_rev	1.40
 # split into individual X_prov_ver if there is a reason to desync
 %define		prov_ver	4.15
@@ -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:	3
+Release:	1
 License:	GPL v2+
 Group:		Development/Building
 Source0:	macros.pld
diff --git a/macros.pld b/macros.pld
index 0b68337..4d77cfc 100644
--- a/macros.pld
+++ b/macros.pld
@@ -138,7 +138,9 @@ pakietu oraz przy odpluskwianiu samego pakietu.\
 %ifnarch noarch\
 %global __debug_package 1\
 %_debuginfo_template\
-%{?_debugsource_packages:%_debugsource_template}\
+%if 0%{?_debugsource_packages}\
+%_debugsource_template\
+%endif\
 %endif\
 %{nil}
 
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list