OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-tools Date: 14-Nov-2006 14:47:29
Branch: HEAD Handle: 2006111413472800
Modified files:
openpkg-tools/cmd lint-spec.pl
Log:
be more descriptive in error message and fix name of script
Summary:
Revision Changes Path
1.13 +2 -2 openpkg-tools/cmd/lint-spec.pl
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-tools/cmd/lint-spec.pl
============================================================================
$ cvs diff -u -r1.12 -r1.13 lint-spec.pl
--- openpkg-tools/cmd/lint-spec.pl 30 Oct 2006 09:55:30 -0000 1.12
+++ openpkg-tools/cmd/lint-spec.pl 14 Nov 2006 13:47:28 -0000 1.13
@@ -34,7 +34,7 @@
my $ctx = new OpenPKG::Ctx;
# program information
-my $progname = "speclint";
+my $progname = "lint-spec";
my $progvers = "1.0.0";
# parameters (defaults)
@@ -520,7 +520,7 @@
$regex =~ s|\s+||sg;
if ($sections !~ m/^$regex$/s) {
$regex =~ s|,| |sg;
- &lint_error($file, undef, undef, "invalid RPM section order
(expected \"$regex\")");
+ &lint_error($file, undef, undef, "invalid RPM section order:
$sections (expected \"$regex\")");
}
}
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]