Update of /cvsroot/fink/fink/perlmod/Fink
In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv15215
Modified Files:
ChangeLog Validation.pm
Log Message:
stable and unstable are now converted to PatchFile, so make warnings about
Patch and %a/*.patch non-optional
Index: Validation.pm
===================================================================
RCS file: /cvsroot/fink/fink/perlmod/Fink/Validation.pm,v
retrieving revision 1.298
retrieving revision 1.299
diff -u -d -r1.298 -r1.299
--- Validation.pm 7 Mar 2009 16:25:03 -0000 1.298
+++ Validation.pm 30 Mar 2009 04:29:38 -0000 1.299
@@ -824,7 +824,7 @@
if (exists $properties->{patchfile}) {
print "Error: Cannot use %a if using PatchFile,
use \%\{PatchFile\} to reference the patch. ($filename)\n";
$looks_good = 0;
- } elsif (Fink::Config::get_option("Pedantic")) {
+ } else {
print "Warning: %a patchfile pathnames are
deprecated. Use PatchFile, and \%\{PatchFile\} to reference the patch.
($filename)\n";
$looks_good = 0;
}
@@ -837,14 +837,12 @@
# add directory if info is not simple filename (not in $PWD)
$value = "\%a/" .$value if $pkgpatchpath;
unshift @patchfiles, $value;
- if (Fink::Config::get_option("Pedantic")) {
- if (exists $properties->{patchfile}) {
- print "Warning: The Patch field is deprecated.
Use PatchFile, and \%\{PatchFile\} to apply the patch explicitly in
PatchScript. ($filename)\n";
- } else {
- print "Warning: The Patch field is deprecated.
Use PatchFile instead. ($filename)\n";
- }
- $looks_good = 0;
+ if (exists $properties->{patchscript}) {
+ print "Warning: The Patch field is deprecated. Use
PatchFile, and \%\{PatchFile\} to apply the patch explicitly in PatchScript.
($filename)\n";
+ } else {
+ print "Warning: The Patch field is deprecated. Use
PatchFile instead. ($filename)\n";
}
+ $looks_good = 0;
}
# the contents if PatchFile (if any)
Index: ChangeLog
===================================================================
RCS file: /cvsroot/fink/fink/perlmod/Fink/ChangeLog,v
retrieving revision 1.1580
retrieving revision 1.1581
diff -u -d -r1.1580 -r1.1581
--- ChangeLog 29 Mar 2009 23:49:26 -0000 1.1580
+++ ChangeLog 30 Mar 2009 04:29:38 -0000 1.1581
@@ -1,3 +1,7 @@
+2009-03-30 Daniel Macks <[email protected]>
+
+ * Validation.pm: .info Patch and %a/*.patch are now fully deprecated
+
2009-03-29 Dave Morrison <[email protected]>
* PkgVersion.pm: for perl 5.10.0 (and later?), change the $perlcmd
------------------------------------------------------------------------------
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs