[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.2' - bin/pack-debug

Andras Timar (via logerrit) logerrit at kemper.freedesktop.org
Sun Nov 8 17:58:50 UTC 2020


 bin/pack-debug |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 8d70b505411b36c7e4aacf6838b69ce053fd84f5
Author:     Andras Timar <andras.timar at collabora.com>
AuthorDate: Sun Nov 8 18:54:39 2020 +0100
Commit:     Andras Timar <andras.timar at collabora.com>
CommitDate: Sun Nov 8 18:58:08 2020 +0100

    [cp] fix %product and %description lines for debug deb packages
    
    Change-Id: I5b49c1515e0b2365242efad03fbfe0539e52f4ff

diff --git a/bin/pack-debug b/bin/pack-debug
index f37460ae5773..ebbceb576025 100755
--- a/bin/pack-debug
+++ b/bin/pack-debug
@@ -288,8 +288,8 @@ do
 	# create spec file for the debug info package
 
 	cat $i | awk '
-		/^%product/ { print "%product Debug info package of "$0 ;next }
-		/^%description/ { print "%description Debug info package of "$0 ;next }
+		/^%product/ { print gensub("%product", "%product Debug info package of", "", $0);next }
+		/^%description/ { print gensub("%description", "%description Debug info package of", "", $0);next }
 		/^f .*[.](so|bin)([.].*)?$/ { print $1,$2,$3,$4,$5".dbg",$6".dbg"; next }
 		/^[cf] / { next }
 		{print}


More information about the Libreoffice-commits mailing list