]> xenbits.xensource.com Git - libvirt.git/commitdiff
python: Drop TODO
authorCole Robinson <crobinso@redhat.com>
Mon, 29 Jul 2013 11:53:16 +0000 (07:53 -0400)
committerCole Robinson <crobinso@redhat.com>
Mon, 29 Jul 2013 11:54:18 +0000 (07:54 -0400)
File hasn't been really touched for 7 years. And with recent rawhide
changes it contributed to an RPM build failure. Let's drop it.

This also removes installation of a libvirt-python doc dir, so drop
handling of it from the RPM spec.

libvirt.spec.in
python/Makefile.am
python/TODO [deleted file]

index e0e0004d621a95f21c0e39ae065667e0a684a760..81101e8e5a918bf8e861c4c57f38d97bd640d1b4 100644 (file)
@@ -1440,12 +1440,6 @@ rm -f $RPM_BUILD_ROOT%{_datadir}/augeas/lenses/libvirtd_lxc.aug
 rm -f $RPM_BUILD_ROOT%{_datadir}/augeas/lenses/tests/test_libvirtd_lxc.aug
 %endif
 
-%if ! %{with_python}
-rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/libvirt-python-%{version}
-%else
-rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/libvirt-python-%{version}/examples
-%endif
-
 %if ! %{with_qemu}
 rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu.conf
 rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/libvirtd.qemu
@@ -2060,7 +2054,6 @@ fi
 %{_libdir}/python*/site-packages/libvirt_lxc.py*
 %{_libdir}/python*/site-packages/libvirtmod*
 %doc python/tests/*.py
-%doc python/TODO
 %doc examples/python
 %doc examples/domain-events/events-python
 %endif
index 9e957d1673a332265467e2a5e0a9d0e90f21eafc..7eb42c6292e7d5480bcc0d1e9755049131767a96 100644 (file)
@@ -31,10 +31,6 @@ INCLUDES = \
 
 AM_CFLAGS = $(WARN_CFLAGS)
 
-DOCS_DIR = $(datadir)/doc/libvirt-python-$(VERSION)
-
-DOCS = ${srcdir}/TODO
-
 CLASSES_EXTRA = \
        libvirt-override-virConnect.py \
        libvirt-override-virDomain.py \
@@ -152,9 +148,6 @@ install-data-local:
        $(INSTALL) -m 0644 libvirt.py $(DESTDIR)$(pyexecdir)
        $(INSTALL) -m 0644 libvirt_lxc.py $(DESTDIR)$(pyexecdir)
        $(INSTALL) -m 0644 libvirt_qemu.py $(DESTDIR)$(pyexecdir)
-       $(mkinstalldirs) $(DESTDIR)$(DOCS_DIR)
-       @(for doc in $(DOCS) ; \
-          do $(INSTALL) -m 0644 $$doc $(DESTDIR)$(DOCS_DIR) ; done)
 
 uninstall-local:
        rm -f $(DESTDIR)$(pyexecdir)/libvirt.py
diff --git a/python/TODO b/python/TODO
deleted file mode 100644 (file)
index 4627482..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-- Need to complete, add custom wrapper function for those
-  which could not be handled fully automatically
-- Check the names generated, iD is bad, fix the name generation routine
-- add examples, web page and python based test suite
-
-Daniel Veillard