[Blends-commit] [SCM] blends-gsoc branch, master, updated. f2208d3e02c1b2e75e6eb804e01e5ecdd5cb67ba

Andreas Tille tille at debian.org
Mon Jul 28 11:41:22 UTC 2014


The following commit has been merged in the master branch:
commit f2208d3e02c1b2e75e6eb804e01e5ecdd5cb67ba
Author: Andreas Tille <tille at debian.org>
Date:   Mon Jul 28 13:40:53 2014 +0200

    metapackages should not be Section misc but rather metapackage -> see #720199

diff --git a/devtools/blend-gen-control b/devtools/blend-gen-control
index 8507c49..bebdcdc 100755
--- a/devtools/blend-gen-control
+++ b/devtools/blend-gen-control
@@ -578,7 +578,12 @@ def gen_control(**kwargs):
             fout.write("Package: {0}-{1}\n".format(tasksprefix, task))
             fout.write("Architecture: {0}\n".format(architecture))
 
-            for header in ["Section", "Priority"]:
+            # # metapackages should not be Section misc but rather metapackage -> see #720199
+            if blend_dependencies[task].has_key('Section') and blend_dependencies[task]['Section'] == 'misc':
+                fout.write("Section: misc\n")
+            else:
+                fout.write("Section: metapackage\n")
+            for header in ["Priority"]:
                 if blend_dependencies[task][header]:
                     fout.write("{0}: {1}\n".format(header, blend_dependencies[task][header]))
 
diff --git a/devtools/sec-blend-gen-control b/devtools/sec-blend-gen-control
index 0b936b4..828e6b9 100755
--- a/devtools/sec-blend-gen-control
+++ b/devtools/sec-blend-gen-control
@@ -818,7 +818,12 @@ def gen_control(**kwargs):
             fout.write("Package: {0}-{1}\n".format(tasksprefix, task))
             fout.write("Architecture: {0}\n".format(architecture))
 
-            for header in ["Section", "Priority"]:
+            # # metapackages should not be Section misc but rather metapackage -> see #720199
+            if blend_dependencies[task].has_key('Section') and blend_dependencies[task]['Section'] == 'misc':
+                fout.write("Section: misc\n")
+            else:
+                fout.write("Section: metapackage\n")
+            for header in ["Priority"]:
                 if blend_dependencies[task][header]:
                     fout.write("{0}: {1}\n".format(header, blend_dependencies[task][header]))
 

-- 
Git repository for blends-gsoc code



More information about the Blends-commit mailing list