1
0

Accepting request 73966 from home:coolo:branches:openSUSE:Factory

fix invalid licenses

OBS-URL: https://build.opensuse.org/request/show/73966
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-format_spec_file?expand=0&rev=11
This commit is contained in:
Adrian Schröter 2011-06-17 07:52:59 +00:00 committed by Git OBS Bridge
parent 456d646f73
commit 8f0d677756
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Jun 17 07:27:18 UTC 2011 - coolo@novell.com
- do not replace licenses without knowing them (not sure this
is necessary at all)
-------------------------------------------------------------------
Tue May 31 08:03:34 UTC 2011 - adrian@suse.de

View File

@ -592,7 +592,7 @@ while (@oldspec) {
if ($line =~ /^%package/ && $line !~ /\\$/) {
$line =~ s/^(%\w+)/lc($1)/e;
my ($current_package, $current_lang) = set_current_pkg ( $line );
unless ($please_replace{"XXXLICENSE $current_package"}) {
unless ($please_replace{"XXXLICENSE $current_package"} || !$replace_hash{"XXXLICENSE $current_package"}) {
print $replace_hash{"XXXLICENSE $current_package"}."\n";
}
}