Hello folks,

I'm including bellow a patch for discussion. This add support for
cdd-gen-control to process the Pre-Depends control field like it do
for others fields like Depends, Suggests and so on.

Index: cdd-gen-control
===================================================================
RCS file: /cvsroot/cdd/cdd/common/cdd/cdd-gen-control,v
retrieving revision 1.2
diff -u -r1.2 cdd-gen-control
--- cdd-gen-control     15 Apr 2004 21:53:37 -0000      1.2
+++ cdd-gen-control     29 Jun 2004 02:35:06 -0000
@@ -94,7 +94,7 @@
                if (defined $taskinfo{$task}{$header});
        }
 
-       for $header (qw(Depends Suggests Recommends)) {
+       for $header (qw(Pre-Depends Depends Suggests Recommends)) {
            print "$header: ", join(", ", sort 
@{$taskinfo{$task}{$header}}),"\n"
                if (defined $taskinfo{$task}{$header});
        }
Index: debian/changelog
===================================================================
RCS file: /cvsroot/cdd/cdd/common/cdd/debian/changelog,v
retrieving revision 1.9
diff -u -r1.9 changelog
--- debian/changelog    19 Jun 2004 06:51:04 -0000      1.9
+++ debian/changelog    29 Jun 2004 02:35:06 -0000
@@ -8,6 +8,8 @@
   * cdd-install-helper handles CDD-common.{config,template}
   * Usage of get-group-users deprecated, use cdd-tools instead.
     Moved functionality of get-group-users to unixgroups/cdd-actions.
+  * Otavio Salvador
+    - Add support to Pre-Depends field in cdd-gen-control script.
 
  -- Andreas Tille <[EMAIL PROTECTED]>  Wed,  9 Jun 2004 08:20:26 +0200

What you think about it? 

-- 
        O T A V I O    S A L V A D O R
---------------------------------------------
 E-mail: [EMAIL PROTECTED]      UIN: 5906116
 GNU/Linux User: 239058     GPG ID: 49A5F855
 Home Page: http://www.freedom.ind.br/otavio
---------------------------------------------
"Microsoft gives you Windows ... Linux gives
 you the whole house."

Attachment: pgpVdpRmV6B3P.pgp
Description: PGP signature

Reply via email to