[libvirt] [PATCH] examples: Add missing build data for 'rename'

Martin Kletzander mkletzan at redhat.com
Mon Sep 7 07:02:43 UTC 2015


Commit e755186c5c30 added the rename example, but forgot to build some
essential files in there as well as add it to the spec file.

Signed-off-by: Martin Kletzander <mkletzan at redhat.com>
---
Pushed under the build-breaker rule.

 Makefile.am     | 2 +-
 libvirt.spec.in | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index d338d5a220c1..6f217bc08595 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -24,7 +24,7 @@ SUBDIRS = . gnulib/lib include src daemon tools docs gnulib/tests \
   examples/dominfo examples/domsuspend examples/apparmor \
   examples/xml/nwfilter examples/openauth examples/systemtap \
   tools/wireshark examples/dommigrate examples/polkit \
-  examples/lxcconvert examples/domtop
+  examples/lxcconvert examples/domtop examples/rename

 ACLOCAL_AMFLAGS = -I m4

diff --git a/libvirt.spec.in b/libvirt.spec.in
index 6f6b191ee61d..bb8bfc3c25c1 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -1546,7 +1546,7 @@ rm -fr %{buildroot}
 # on RHEL 5, thus we need to expand it here.
 make install DESTDIR=%{?buildroot} SYSTEMD_UNIT_DIR=%{_unitdir}

-for i in object-events dominfo domsuspend hellolibvirt openauth xml/nwfilter systemtap dommigrate domtop
+for i in object-events dominfo domsuspend hellolibvirt openauth xml/nwfilter systemtap dommigrate domtop rename
 do
   (cd examples/$i ; make clean ; rm -rf .deps .libs Makefile Makefile.in)
 done
@@ -2330,6 +2330,7 @@ exit 0
 %doc examples/dommigrate
 %doc examples/openauth
 %doc examples/xml
+%doc examples/rename
 %doc examples/systemtap

 %changelog
--
2.5.1




More information about the libvir-list mailing list