summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/pack-debug4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/pack-debug b/bin/pack-debug
index e212a2cfaad4..4f1f2a9e28a7 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}