mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-01 17:35:17 +00:00
python: Drop TODO
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.
This commit is contained in:
parent
b7caae92e1
commit
3347a42032
@ -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
|
rm -f $RPM_BUILD_ROOT%{_datadir}/augeas/lenses/tests/test_libvirtd_lxc.aug
|
||||||
%endif
|
%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}
|
%if ! %{with_qemu}
|
||||||
rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu.conf
|
rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu.conf
|
||||||
rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/libvirtd.qemu
|
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/libvirt_lxc.py*
|
||||||
%{_libdir}/python*/site-packages/libvirtmod*
|
%{_libdir}/python*/site-packages/libvirtmod*
|
||||||
%doc python/tests/*.py
|
%doc python/tests/*.py
|
||||||
%doc python/TODO
|
|
||||||
%doc examples/python
|
%doc examples/python
|
||||||
%doc examples/domain-events/events-python
|
%doc examples/domain-events/events-python
|
||||||
%endif
|
%endif
|
||||||
|
@ -31,10 +31,6 @@ INCLUDES = \
|
|||||||
|
|
||||||
AM_CFLAGS = $(WARN_CFLAGS)
|
AM_CFLAGS = $(WARN_CFLAGS)
|
||||||
|
|
||||||
DOCS_DIR = $(datadir)/doc/libvirt-python-$(VERSION)
|
|
||||||
|
|
||||||
DOCS = ${srcdir}/TODO
|
|
||||||
|
|
||||||
CLASSES_EXTRA = \
|
CLASSES_EXTRA = \
|
||||||
libvirt-override-virConnect.py \
|
libvirt-override-virConnect.py \
|
||||||
libvirt-override-virDomain.py \
|
libvirt-override-virDomain.py \
|
||||||
@ -152,9 +148,6 @@ install-data-local:
|
|||||||
$(INSTALL) -m 0644 libvirt.py $(DESTDIR)$(pyexecdir)
|
$(INSTALL) -m 0644 libvirt.py $(DESTDIR)$(pyexecdir)
|
||||||
$(INSTALL) -m 0644 libvirt_lxc.py $(DESTDIR)$(pyexecdir)
|
$(INSTALL) -m 0644 libvirt_lxc.py $(DESTDIR)$(pyexecdir)
|
||||||
$(INSTALL) -m 0644 libvirt_qemu.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:
|
uninstall-local:
|
||||||
rm -f $(DESTDIR)$(pyexecdir)/libvirt.py
|
rm -f $(DESTDIR)$(pyexecdir)/libvirt.py
|
||||||
|
@ -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
|
|
Loading…
x
Reference in New Issue
Block a user