OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-re                       Date:   11-Feb-2004 08:13:52
  Branch: HEAD                             Handle: 2004021107135200

  Modified files:
    openpkg-re              speclint.pl

  Log:
    do not complain if multiple patches are applied on a single line

  Summary:
    Revision    Changes     Path
    1.64        +1  -1      openpkg-re/speclint.pl
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-re/speclint.pl
  ============================================================================
  $ cvs diff -u -r1.63 -r1.64 speclint.pl
  --- openpkg-re/speclint.pl    5 Feb 2004 22:19:00 -0000       1.63
  +++ openpkg-re/speclint.pl    11 Feb 2004 07:13:52 -0000      1.64
  @@ -840,7 +840,7 @@
                   &lint_warning($file, undef, undef, "section $section: syntactically 
wrong space in \"\%patch\" macro" .
                                 " (use -p0)");
               }
  -            if ($this =~ m/^ *%patch.*-P 0/ and grep(/^\%patch+$/, @tokens) == 1) {
  +            if ($this =~ m/^ *%patch.*-P 0\s*$/ and grep(/^\%patch+$/, @tokens) == 
1) {
                   &lint_warning($file, undef, undef, "section $section: syntactically 
wrong space in \"\%patch\" macro" .
                                 " (omit -P for single patch)");
               }
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to