r48885 - in /trunk/dh-make-perl: debian/changelog lib/Debian/Control/Stanza.pm lib/Debian/Control/Stanza/Binary.pm
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Wed Dec 16 17:00:44 UTC 2009
Author: gregoa
Date: Wed Dec 16 17:00:36 2009
New Revision: 48885
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=48885
Log:
Add Provides and Replaces to lib/Debian/Control/Stanza{,/Binary}.pm.
Modified:
trunk/dh-make-perl/debian/changelog
trunk/dh-make-perl/lib/Debian/Control/Stanza.pm
trunk/dh-make-perl/lib/Debian/Control/Stanza/Binary.pm
Modified: trunk/dh-make-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/debian/changelog?rev=48885&op=diff
==============================================================================
--- trunk/dh-make-perl/debian/changelog (original)
+++ trunk/dh-make-perl/debian/changelog Wed Dec 16 17:00:36 2009
@@ -1,11 +1,15 @@
dh-make-perl (0.62) UNRELEASED; urgency=low
+ [ Damyan Ivanov ]
* tighten matching READMEs a bit; Closes: #560165
* while looking for docs, do not delve into SVN and GIT dirs
* add perl (>= 5.10.1) as a preferred alternative (build) dependency to
libmodule-corelist-perl (>= 2.14) and libtest-simple-perl (>= 0.82)
* replace the hard-coded default to /etc/apt/sources.list with querying
AptPkg's Config about possible sources.list files. Closes: #557961
+
+ [ gregor herrmann ]
+ * Add Provides and Replaces to lib/Debian/Control/Stanza{,/Binary}.pm.
-- Damyan Ivanov <dmn at debian.org> Thu, 10 Dec 2009 07:29:05 +0200
Modified: trunk/dh-make-perl/lib/Debian/Control/Stanza.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/lib/Debian/Control/Stanza.pm?rev=48885&op=diff
==============================================================================
--- trunk/dh-make-perl/lib/Debian/Control/Stanza.pm (original)
+++ trunk/dh-make-perl/lib/Debian/Control/Stanza.pm Wed Dec 16 17:00:36 2009
@@ -123,6 +123,8 @@
=item Enhances
+=item Replaces
+
=item Breaks
=item Pre_Depends
@@ -138,7 +140,7 @@
our %dependency_list = map(
( $_ => 1 ),
qw( Build-Depends Build-Depends-Indep Build-Conflicts Build-Conflicts-Indep
- Depends Conflicts Enhances Breaks Pre-Depends Recommends Suggests ),
+ Depends Conflicts Enhances Replaces Breaks Pre-Depends Recommends Suggests ),
);
sub is_dependency_list {
Modified: trunk/dh-make-perl/lib/Debian/Control/Stanza/Binary.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/lib/Debian/Control/Stanza/Binary.pm?rev=48885&op=diff
==============================================================================
--- trunk/dh-make-perl/lib/Debian/Control/Stanza/Binary.pm (original)
+++ trunk/dh-make-perl/lib/Debian/Control/Stanza/Binary.pm Wed Dec 16 17:00:36 2009
@@ -45,17 +45,21 @@
=item Enhances
+=item Replaces
+
=item Pre_Depends
=item Conflicts
+
+=item Provides
=item Description
=back
-C<Depends>, C<Conflicts>, C<Recommends>, C<Suggests>, C<Enhances> and
-C<Pre_Depends> fields are converted to objects of L<Debian::Dependencies> class
-upon construction.
+C<Depends>, C<Conflicts>, C<Recommends>, C<Suggests>, C<Enhances>, C<Replaces>,
+and C<Pre_Depends> fields are converted to objects of L<Debian::Dependencies>
+class upon construction.
=cut
@@ -67,7 +71,7 @@
use constant fields => qw(
Package Architecture Section Priority Essential Depends Recommends Suggests
- Enhances Pre_Depends Conflicts Description
+ Enhances Replaces Pre_Depends Conflicts Provides Description
);
=head1 CONSTRUCTOR
More information about the Pkg-perl-cvs-commits
mailing list