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: 17-Nov-2003 22:50:07 Branch: HEAD Handle: 2003111721500700 Modified files: openpkg-re speclint.pl Log: %integrity is gone (soon) Summary: Revision Changes Path 1.54 +0 -10 openpkg-re/speclint.pl ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-re/speclint.pl ============================================================================ $ cvs diff -u -r1.53 -r1.54 speclint.pl --- openpkg-re/speclint.pl 9 Oct 2003 11:25:05 -0000 1.53 +++ openpkg-re/speclint.pl 17 Nov 2003 21:50:07 -0000 1.54 @@ -957,16 +957,6 @@ $done .= $this; } - # check for %NoSource&/%NoPatch and %integrity consistency - if ($spec =~ m/\n\%No(Source|Patch)/s and $spec !~ m/\n\s*\%integrity/s) { - &lint_error($file, undef, undef, "found \"\%NoSource/\%NoPatch\", but no \"\%integrity\" usage". - " (expected to see \"\%integrity\" in \%setup section)"); - } - if ($spec !~ m/\n\%No(Source|Patch)/s and $spec =~ m/\n\s*\%integrity/s) { - &lint_error($file, undef, undef, "found no \"\%NoSource/\%NoPatch\", but \"\%integrity\" usage". - " (expected to see \"\%NoSource/\%NoPatch\" in source section)"); - } - # check for valid RPM macro usage if ($file !~ m|^(.+/)?openpkg\.spec$|s) { my $ok = `$rpm --eval '\%dump' 2>&1 | egrep "^-*[0-9][0-9]*: l_" | sed -e 's;^[^:]*: *\\(l_[a-zA-Z0-9_]*\\).*;\\1;' | sort -u`; @@ . ______________________________________________________________________ The OpenPKG Project www.openpkg.org CVS Repository Commit List [EMAIL PROTECTED]