From 406a235cbc24793733666f6e6166069bfdf577b9 Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Dec 03 2019 15:22:18 +0000 Subject: Fix test suite Signed-off-by: Cole Robinson --- diff --git a/0001-news-Fix-XML-validation.patch b/0001-news-Fix-XML-validation.patch new file mode 100644 index 0000000..f769f91 --- /dev/null +++ b/0001-news-Fix-XML-validation.patch @@ -0,0 +1,37 @@ +From 0a65cba423781f2cbf123354b7f670c4f441b385 Mon Sep 17 00:00:00 2001 +Message-Id: <0a65cba423781f2cbf123354b7f670c4f441b385.1575386313.git.crobinso@redhat.com> +From: Jim Fehlig +Date: Mon, 2 Dec 2019 20:48:24 -0700 +Subject: [PATCH] news: Fix XML validation + +The news schema requires two digits for both month and day in the date +attribute. s/2/02/ in the day value of date to fix the following +'make check' failure + +2165) Checking ../docs/news.xml against ../news.rng ... +libvirt: XML Util error : XML document failed to validate against schema: +Unable to validate doc against /home/jfehlig/virt/upstream/libvirt/build/../docs/schemas/../news.rng +Element release failed to validate attributes + +Signed-off-by: Jim Fehlig +Signed-off-by: Cole Robinson +--- + docs/news.xml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/docs/news.xml b/docs/news.xml +index 55b227839e..46a3466238 100644 +--- a/docs/news.xml ++++ b/docs/news.xml +@@ -42,7 +42,7 @@ + --> + + +- ++ +
+ + +-- +2.23.0 + diff --git a/libvirt.spec b/libvirt.spec index fd04a27..d56d57e 100644 --- a/libvirt.spec +++ b/libvirt.spec @@ -237,6 +237,9 @@ URL: https://libvirt.org/ %endif Source: https://libvirt.org/sources/%{?mainturl}libvirt-%{version}.tar.xz +# Fix test suite +Patch0001: 0001-news-Fix-XML-validation.patch + Requires: libvirt-daemon = %{version}-%{release} Requires: libvirt-daemon-config-network = %{version}-%{release} Requires: libvirt-daemon-config-nwfilter = %{version}-%{release}