http://bugzilla.novell.com/show_bug.cgi?id=508078
User jw@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=508078#c4
--- Comment #4 from Juergen Weigert 2009-06-02 07:22:49 MDT ---
We should collect Copyright lines, and all lines following a copyright line
until we run into a very short line, or into the subsequent text.
Suggested patch for prepare_spec:
if ( /^#\s*Copyright\s*/ ) {
for (;;)
{
# check if line is ONLY a standard copyright line, if so, ignore.
my $c = $_;
$c =~
s{\s*(\d+|copyrights?|\(c\)|suse|linux|products|gmbh|nuremberg|n..?rnberg|germany|\W+)\s*}{}gi;
push(@copyrights, $_) if length $c > 5;
last if length $readspec[0] < 10 or $readspec[0] =~ m{modifications
and additions}i;
$_ = shift @readspec;
}
next;
}
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.