[libguestfs] Package virt-p2v binary and man page.

Richard W.M. Jones rjones at fedoraproject.org
Fri May 16 09:42:34 UTC 2014


commit 953dfaf1e04274a4aaa151b0f3976cde50585be1
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Fri May 16 10:42:11 2014 +0100

    Package virt-p2v binary and man page.

 libguestfs.spec |   27 +++++++++++++++++++++++++++
 1 files changed, 27 insertions(+), 0 deletions(-)
---
diff --git a/libguestfs.spec b/libguestfs.spec
index f867e2d..09ea8cc 100644
--- a/libguestfs.spec
+++ b/libguestfs.spec
@@ -465,6 +465,26 @@ Virt-win-reg lets you look at and modify the Windows Registry of
 Windows virtual machines.
 
 
+# The Name and Summary of this package is deliberately obscure to
+# discourage end users from installing and running it.  Instead they
+# need to get the P2V ISO which is a Fedora/RHEL Spin.
+%package pvhelper
+Summary:       pvhelper
+
+Requires:      /usr/bin/xinit
+Requires:      /usr/bin/ssh
+Requires:      /usr/bin/qemu-nbd
+Requires:      /usr/bin/Xorg
+Requires:      xorg-x11-drv-*
+Requires:      xorg-x11-fonts-Type1
+
+
+%description pvhelper
+This helper is used when creating a Spin.
+
+End users *should not* install this package.
+
+
 %package bash-completion
 Summary:       Bash tab-completion scripts for %{name} tools
 BuildArch:     noarch
@@ -1015,6 +1035,7 @@ mv $RPM_BUILD_ROOT/lib/udev/rules.d/99-guestfs-serial.rules \
 %{_mandir}/man1/virt-tar-in.1*
 %{_bindir}/virt-tar-out
 %{_mandir}/man1/virt-tar-out.1*
+%{_mandir}/man1/virt-p2v.1*
 %{_bindir}/virt-v2v
 %{_mandir}/man1/virt-v2v.1*
 
@@ -1031,6 +1052,12 @@ mv $RPM_BUILD_ROOT/lib/udev/rules.d/99-guestfs-serial.rules \
 %{_mandir}/man1/virt-win-reg.1*
 
 
+%files pvhelper
+%doc COPYING README
+%{_libexecdir}/virt-p2v
+# NB: man page does NOT go here.
+
+
 %files bash-completion
 %dir %{_datadir}/bash-completion/completions
 %{_datadir}/bash-completion/completions/guestfish


More information about the scm-commits mailing list