Skip to content

Commit 8c23560

Browse files
authored
rpm: Consume group info for sub RPMs (#931)
In the original subrpm implementation this field appears to have been overlooked. This change just injects the correct specfile lines based on the existing group info from the provider.
1 parent 1772ebd commit 8c23560

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pkg/rpm_pfg.bzl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,9 @@ def _process_subrpm(ctx, rpm_name, rpm_info, rpm_ctx, debuginfo_type):
350350
"Summary: %s" % rpm_info.summary,
351351
]
352352

353+
if rpm_info.group:
354+
rpm_lines.append("Group: %s" % rpm_info.group)
355+
353356
if rpm_info.architecture:
354357
rpm_lines.append("BuildArch: %s" % rpm_info.architecture)
355358

0 commit comments

Comments
 (0)