[libvirt] fix doc path in libvirt-python

Dennis Gilmore ausil at fedoraproject.org
Mon Jul 29 03:28:36 UTC 2013


commit f9085f2538608836cdd444f10bc0de1e6ffc08f5
Author: Dennis Gilmore <dennis at ausil.us>
Date:   Sun Jul 28 22:28:27 2013 -0500

    fix doc path in libvirt-python

 libvirt-1.1.0-python-docpath.patch |   11 +++++++++++
 libvirt.spec                       |    8 +++++++-
 2 files changed, 18 insertions(+), 1 deletions(-)
---
diff --git a/libvirt-1.1.0-python-docpath.patch b/libvirt-1.1.0-python-docpath.patch
new file mode 100644
index 0000000..723b8ca
--- /dev/null
+++ b/libvirt-1.1.0-python-docpath.patch
@@ -0,0 +1,11 @@
+--- libvirt-1.1.0/python/Makefile.in.orig	2013-07-28 22:24:30.722757408 -0500
++++ libvirt-1.1.0/python/Makefile.in	2013-07-28 22:24:44.735934794 -0500
+@@ -1912,7 +1912,7 @@
+ 	$(GETTEXT_CPPFLAGS)
+ 
+ AM_CFLAGS = $(WARN_CFLAGS)
+-DOCS_DIR = $(datadir)/doc/libvirt-python-$(VERSION)
++DOCS_DIR = $(datadir)/doc/libvirt-python
+ DOCS = ${srcdir}/TODO
+ CLASSES_EXTRA = \
+ 	libvirt-override-virConnect.py \
diff --git a/libvirt.spec b/libvirt.spec
index 8609228..e0a4397 100644
--- a/libvirt.spec
+++ b/libvirt.spec
@@ -350,7 +350,7 @@
 Summary: Library providing a simple virtualization API
 Name: libvirt
 Version: 1.1.0
-Release: 4%{?dist}%{?extra_release}
+Release: 5%{?dist}%{?extra_release}
 License: LGPLv2+
 Group: Development/Libraries
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
@@ -370,6 +370,8 @@ Patch0002: 0002-qemu-Fix-double-free-of-returned-JSON-array-in-qemuA.patch
 # #986386, bz #986406)
 Patch0003: 0003-qemu-Prevent-crash-of-libvirtd-without-guest-agent-c.patch
 
+Patch4:    libvirt-1.1.0-python-docpath.patch
+
 %if %{with_libvirtd}
 Requires: libvirt-daemon = %{version}-%{release}
     %if %{with_network}
@@ -1148,6 +1150,7 @@ of recent versions of Linux (and other OSes).
 # CVE-2013-4154: Crash of libvirtd if guest agent not configured (bz
 # #986386, bz #986406)
 %patch0003 -p1
+%patch4 -p1
 
 %build
 %if ! %{with_xen}
@@ -2084,6 +2087,9 @@ fi
 %endif
 
 %changelog
+* Sun Jul 28 2013 Dennis Gilmore <dennis at ausil.us> - 1.1.0-5
+- fix doc path in libvirt-python
+
 * Thu Jul 25 2013 Cole Robinson <crobinso at redhat.com> - 1.1.0-4
 - CVE-2013-4153: Fix double free of returned JSON (bz #986408, bz #986383)
 - CVE-2013-4154: Crash of libvirtd if guest agent not configured (bz #986386,


More information about the scm-commits mailing list