- update prepare_spec from git to fix (bnc#891152)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-format_spec_file?expand=0&rev=142
This commit is contained in:
Ruediger Oertel 2014-08-13 09:22:18 +00:00 committed by Git OBS Bridge
parent 510ce65ab2
commit 02eaff4f09
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Aug 13 11:21:40 CEST 2014 - ro@suse.de
- update prepare_spec from git to fix (bnc#891152)
-------------------------------------------------------------------
Thu Jul 31 15:44:36 CEST 2014 - ro@suse.de

View File

@ -715,9 +715,9 @@ while (@oldspec) {
} elsif ($line =~ m/XXXPOSTSUMMARY (.*)$/) {
my $current_package = $1;
my $license = $seen_licenses{$current_package} || $main_license;
printf("%-16s%s\n", "License:", $license) if (!$license_unique || $first_summary);
printf("%-16s%s\n", "License:", $license) if (!$license_unique || $first_summary || $current_package eq $base_package);
my $group = $seen_groups{$current_package} || $main_group;
printf("%-16s%s\n", "Group:", $group) if (!$groups_unique || $first_summary);
printf("%-16s%s\n", "Group:", $group) if (!$groups_unique || $first_summary || $current_package eq $base_package);
$first_summary = 0;
} else {
print "$line\n";