forked from pool/javapackages-tools
ceef81b960
Add create_valid_xml_comments.patch
python-lxml 3.5.0 introduces validation for xml comments, and one of the comments created in this package were not valid. This patch fixes the problem. It backported from upstream and should be in the next release.
84211c0ee7
OBS-URL: https://build.opensuse.org/request/show/359129
OBS-URL: https://build.opensuse.org/package/show/Java:packages/javapackages-tools?expand=0&rev=30
23 lines
878 B
Diff
23 lines
878 B
Diff
From 84211c0ee761e93ee507f5d37e9fc80ec377e89d Mon Sep 17 00:00:00 2001
|
|
From: Mikolaj Izdebski <mizdebsk@redhat.com>
|
|
Date: Thu, 3 Dec 2015 06:58:58 +0100
|
|
Subject: [PATCH] Fix TravisCI test failure
|
|
|
|
---
|
|
java-utils/pom_editor.py | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/java-utils/pom_editor.py b/java-utils/pom_editor.py
|
|
index eac7ab1..364a443 100644
|
|
--- a/java-utils/pom_editor.py
|
|
+++ b/java-utils/pom_editor.py
|
|
@@ -580,7 +580,7 @@ def pom_remove_parent(pom=None):
|
|
"""[POM location]"""
|
|
try:
|
|
pom.replace_xml(pom.xpath_query_element("/pom:project/pom:parent"),
|
|
- etree.Comment(" parent POM reference removed by maintainer --> "))
|
|
+ etree.Comment(" parent POM reference removed by maintainer "))
|
|
except PomQueryNoMatch:
|
|
raise PomQueryNoMatch("POM doesn't specify parent.")
|
|
|