Mailinglist Archive: opensuse-bugs (4162 mails)

< Previous Next >
[Bug 508078] submitting packages to Factory removes my copyright notice
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Tue, 2 Jun 2009 07:22:50 -0600
  • Message-id: <20090602132250.C51C724550E@xxxxxxxxxxxxxxxxxxxxxx>
http://bugzilla.novell.com/show_bug.cgi?id=508078

User jw@xxxxxxxxxx added comment
http://bugzilla.novell.com/show_bug.cgi?id=508078#c4





--- Comment #4 from Juergen Weigert <jw@xxxxxxxxxx> 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.

< Previous Next >