[releng] smoketesting: remove m4-common from tarball dependencies
- From: Frederic Peters <fpeters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [releng] smoketesting: remove m4-common from tarball dependencies
- Date: Wed, 22 Jul 2015 20:50:39 +0000 (UTC)
commit 57efb36463b39017d21e320b13d3f37807c56dee
Author: Frédéric Péters <fpeters 0d be>
Date: Wed Jul 22 22:49:15 2015 +0200
smoketesting: remove m4-common from tarball dependencies
tools/smoketesting/convert-to-tarballs.py | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/tools/smoketesting/convert-to-tarballs.py b/tools/smoketesting/convert-to-tarballs.py
index f26f9f4..2587dbc 100755
--- a/tools/smoketesting/convert-to-tarballs.py
+++ b/tools/smoketesting/convert-to-tarballs.py
@@ -745,6 +745,15 @@ class ConvertToTarballs:
attrs = subnode.attributes
if attrs.get('revision') != None:
revision = attrs.get('revision').nodeValue
+
+ # remove m4-common from dependencies as it's only useful when building
+ # modules from git.
+ for dependencies_node in node.getElementsByTagName('dependencies'):
+ for subnode in dependencies_node.getElementsByTagName('dep'):
+ if subnode.attributes.get('package').value == 'm4-common':
+ dependencies_node.removeChild(subnode)
+ continue
+
try:
name = self.options.translate_name(id)
real_name = self.options.get_real_name(name)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]