Browse Source

Add a warning to avoid adding unnecessary stuff in Dpkg.pm

Raphael Hertzog 18 years ago
parent
commit
22ddeee023
2 changed files with 11 additions and 0 deletions
  1. 5 0
      ChangeLog
  2. 6 0
      scripts/Dpkg.pm

+ 5 - 0
ChangeLog

@@ -1,3 +1,8 @@
+2007-12-28  Raphael Hertzog  <hertzog@debian.org>
+
+	* scripts/Dpkg.pm: Add a warning to avoid adding unnecessary stuff
+	in that module.
+
 2007-12-27  Guillem Jover  <guillem@debian.org>
 
 	* scripts/Dpkg.pm (%EXPORT_TAGS, @EXPORT_OK): Remove.

+ 6 - 0
scripts/Dpkg.pm

@@ -3,6 +3,12 @@ package Dpkg;
 use strict;
 use warnings;
 
+# This module is the only one provided by dpkg and not dpkg-dev
+#
+# Don't add things here if you don't need them in dpkg itself.
+# If you do, and also use the new stuff in dpkg-dev, you'll have to bump
+# the dependency of dpkg-dev on dpkg.
+
 use base qw(Exporter);
 our @EXPORT = qw($version $progname $admindir $dpkglibdir $pkgdatadir);