[Blends-commit] [SCM] blends-dev branch, master, updated. ccc56ca41b29e8212ff1aafbf7ce7c1355726395

Mike Gabriel mike.gabriel at das-netzwerkteam.de
Sat Aug 12 03:29:16 UTC 2017


The following commit has been merged in the master branch:
commit ccc56ca41b29e8212ff1aafbf7ce7c1355726395
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Fri Aug 11 23:29:03 2017 -0400

    Revert "devtools/blend-gen-control: With -D (no depends) set, assure that packages under Depends: _and_ Recommends: in task files end up under Recommends: in debian/control."
    
    This reverts commit 706fd96aba31b7334c231e7fb9ef817adb8d4cc0.

diff --git a/devtools/blend-gen-control b/devtools/blend-gen-control
index d0e8d33..45a2cad 100755
--- a/devtools/blend-gen-control
+++ b/devtools/blend-gen-control
@@ -256,14 +256,12 @@ sub gen_control {
 #                   if defined $taskinfo{$task}{Recommends};
                 push(@suggests, @{$taskinfo{$task}{Suggests}})
                     if defined $taskinfo{$task}{Suggests};
-                my @recommends_sorted = sort_uniq(\%seenlist, @recommends);
-                my @suggests_sorted = sort_uniq(\%seenlist, @suggests);
                 print("Recommends: ",
-                      join(",\n ", @recommends_sorted),"\n")
-                        if @recommends_sorted;
+                      join(",\n ", sort_uniq(\%seenlist, @recommends)),"\n")
+                        if defined $taskinfo{$task}{Depends};
                 print("Suggests: ",
-                      join(",\n ", @suggests_sorted),"\n")
-                    if @suggests_sorted;
+                      join(",\n ", sort_uniq(\%seenlist, @suggests)),"\n")
+                    if @suggests;
         }
         else {
                 for $header (qw(Depends Recommends Suggests)) {

-- 
Git repository for blends code



More information about the Blends-commit mailing list