New upstream version 1.13.19.

- New tool: virt-sysprep.
- Remove the old guestfish and libguestfs-mount packages, and put these
  tools into libguestfs-tools.  This change is long overdue, but is also
  necessitated by the new virt-sysprep tool.  This new tool would pull
  in guestfish anyway, so having separate packages makes no sense.
- Remove old obsoletes for virt-cat, virt-df, virt-df2 and virt-inspector,
  since those packages existed only in much older Fedora.
This commit is contained in:
Richard W.M. Jones 2011-10-08 14:51:52 +01:00
parent b7926e64ac
commit 87621414fb
3 changed files with 61 additions and 71 deletions

1
.gitignore vendored
View File

@ -105,3 +105,4 @@ libguestfs-1.5.3.tar.gz
/libguestfs-1.13.16.tar.gz /libguestfs-1.13.16.tar.gz
/libguestfs-1.13.17.tar.gz /libguestfs-1.13.17.tar.gz
/libguestfs-1.13.18.tar.gz /libguestfs-1.13.18.tar.gz
/libguestfs-1.13.19.tar.gz

View File

@ -29,7 +29,7 @@
Summary: Access and modify virtual machine disk images Summary: Access and modify virtual machine disk images
Name: libguestfs Name: libguestfs
Epoch: 1 Epoch: 1
Version: 1.13.18 Version: 1.13.19
Release: 1%{?dist} Release: 1%{?dist}
License: LGPLv2+ License: LGPLv2+
Group: Development/Libraries Group: Development/Libraries
@ -192,7 +192,9 @@ in the context of the guest.
Libguestfs is a library that can be linked with C and C++ management Libguestfs is a library that can be linked with C and C++ management
programs. programs.
For high level virt tools, install '%{name}-tools'. For high level virt tools, guestfish (shell scripting and command line
access), and guestmount (mount guest filesystems using FUSE), install
'%{name}-tools'.
For shell scripting and command line access, install 'guestfish'. For shell scripting and command line access, install 'guestfish'.
@ -226,61 +228,27 @@ Requires: pkgconfig
for %{name}. for %{name}.
%package -n guestfish %package tools-c
Summary: Shell for accessing and modifying virtual machine disk images Summary: System administration tools for virtual machines
Group: Development/Tools Group: Development/Tools
License: GPLv2+ License: GPLv2+
Requires: %{name} = %{epoch}:%{version}-%{release} Requires: %{name} = %{epoch}:%{version}-%{release}
# for guestfish:
#Requires: /usr/bin/emacs #theoretically, but too large #Requires: /usr/bin/emacs #theoretically, but too large
Requires: /usr/bin/hexedit Requires: /usr/bin/hexedit
Requires: /usr/bin/less Requires: /usr/bin/less
Requires: /usr/bin/man Requires: /usr/bin/man
Requires: /bin/vi Requires: /bin/vi
%description -n guestfish
Guestfish is the Filesystem Interactive SHell, for accessing and
modifying virtual machine disk images from the command line and shell
scripts.
Virt-copy-in and virt-copy-out are command line tools for uploading
and downloading files and directories to and from virtual machines.
Virt-tar-in and virt-tar-out are archive, backup and upload tools
for virtual machines. These replace the deprecated program virt-tar.
%package mount
Summary: Mount guest filesystems on the host using FUSE and libguestfs
Group: Development/Tools
License: GPLv2+
Requires: %{name} = %{epoch}:%{version}-%{release}
%description mount
The guestmount command lets you mount guest filesystems on the
host using FUSE and %{name}.
%package tools-c
Summary: System administration tools for virtual machines
Group: Development/Tools
License: GPLv2+
Requires: %{name} = %{epoch}:%{version}-%{release}
# for virt-sparsify: # for virt-sparsify:
Requires: qemu-img Requires: qemu-img
# Obsolete and replace earlier packages. # Obsolete and replace earlier packages.
Provides: virt-cat = %{epoch}:%{version}-%{release} Provides: guestfish = %{epoch}:%{version}-%{release}
Obsoletes: virt-cat < %{epoch}:%{version}-%{release} Obsoletes: guestfish < %{epoch}:%{version}-%{release}
Provides: virt-df = %{epoch}:%{version}-%{release} Provides: libguestfs-mount = %{epoch}:%{version}-%{release}
Obsoletes: virt-df < %{epoch}:%{version}-%{release} Obsoletes: libguestfs-mount < %{epoch}:%{version}-%{release}
Provides: virt-inspector = %{epoch}:%{version}-%{release}
Obsoletes: virt-inspector < %{epoch}:%{version}-%{release}
# RHBZ#514309
Provides: virt-df2 = %{epoch}:%{version}-%{release}
Obsoletes: virt-df2 < %{epoch}:%{version}-%{release}
%description tools-c %description tools-c
@ -298,11 +266,14 @@ Group: Development/Tools
License: GPLv2+ License: GPLv2+
Requires: %{name} = %{epoch}:%{version}-%{release} Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: %{name}-tools-c = %{epoch}:%{version}-%{release} Requires: %{name}-tools-c = %{epoch}:%{version}-%{release}
# NB: Only list deps here which are not picked up automatically. # NB: Only list deps here which are not picked up automatically.
Requires: perl(Sys::Virt) Requires: perl(Sys::Virt)
Requires: perl(String::ShellQuote) Requires: perl(String::ShellQuote)
Requires: perl(XML::Writer) Requires: perl(XML::Writer)
Requires: perl(Win::Hivex) >= 1.2.7 Requires: perl(Win::Hivex) >= 1.2.7
# for virt-make-fs:
Requires: qemu-img Requires: qemu-img
@ -310,12 +281,22 @@ Requires: qemu-img
This package contains miscellaneous system administrator command line This package contains miscellaneous system administrator command line
tools for virtual machines. tools for virtual machines.
Guestfish is the Filesystem Interactive SHell, for accessing and
modifying virtual machine disk images from the command line and shell
scripts.
The guestmount command lets you mount guest filesystems on the host
using FUSE and %{name}.
Virt-alignment-scan scans virtual machines looking for partition Virt-alignment-scan scans virtual machines looking for partition
alignment problems. alignment problems.
Virt-cat is a command line tool to display the contents of a file in a Virt-cat is a command line tool to display the contents of a file in a
virtual machine. virtual machine.
Virt-copy-in and virt-copy-out are command line tools for uploading
and downloading files and directories to and from virtual machines.
Virt-df is a command line tool to display free space on virtual Virt-df is a command line tool to display free space on virtual
machine filesystems. Unlike other tools, it doesnt just display the machine filesystems. Unlike other tools, it doesnt just display the
amount of space allocated to a virtual machine, but can look inside amount of space allocated to a virtual machine, but can look inside
@ -349,7 +330,13 @@ Virt-resize can resize existing virtual machine disk images.
Virt-sparsify makes virtual machine disk images sparse (thin-provisioned). Virt-sparsify makes virtual machine disk images sparse (thin-provisioned).
Virt-win-reg lets you look inside the Windows Registry for Virt-sysprep lets you reset or unconfigure virtual machines in
preparation for cloning them.
Virt-tar-in and virt-tar-out are archive, backup and upload tools
for virtual machines. These replace the deprecated program virt-tar.
Virt-win-reg lets you look at and modify the Windows Registry of
Windows virtual machines. Windows virtual machines.
@ -749,37 +736,24 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/pkgconfig/libguestfs.pc %{_libdir}/pkgconfig/libguestfs.pc
%files -n guestfish
%defattr(-,root,root,-)
%doc README
%{_bindir}/guestfish
%{_mandir}/man1/guestfish.1*
%{_bindir}/virt-copy-in
%{_mandir}/man1/virt-copy-in.1*
%{_bindir}/virt-copy-out
%{_mandir}/man1/virt-copy-out.1*
%{_bindir}/virt-tar-in
%{_mandir}/man1/virt-tar-in.1*
%{_bindir}/virt-tar-out
%{_mandir}/man1/virt-tar-out.1*
%dir %{_sysconfdir}/bash_completion.d
%{_sysconfdir}/bash_completion.d/guestfish-bash-completion.sh
%files mount
%defattr(-,root,root,-)
%doc COPYING README
%{_bindir}/guestmount
%{_mandir}/man1/guestmount.1*
%files tools-c %files tools-c
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc README %doc README
%config(noreplace) %{_sysconfdir}/libguestfs-tools.conf
%dir %{_sysconfdir}/bash_completion.d
%{_sysconfdir}/bash_completion.d/guestfish-bash-completion.sh
%{_bindir}/guestfish
%{_mandir}/man1/guestfish.1*
%{_bindir}/guestmount
%{_mandir}/man1/guestmount.1*
%{_bindir}/virt-alignment-scan %{_bindir}/virt-alignment-scan
%{_mandir}/man1/virt-alignment-scan.1* %{_mandir}/man1/virt-alignment-scan.1*
%{_bindir}/virt-cat %{_bindir}/virt-cat
%{_mandir}/man1/virt-cat.1* %{_mandir}/man1/virt-cat.1*
%{_bindir}/virt-copy-in
%{_mandir}/man1/virt-copy-in.1*
%{_bindir}/virt-copy-out
%{_mandir}/man1/virt-copy-out.1*
%{_bindir}/virt-df %{_bindir}/virt-df
%{_mandir}/man1/virt-df.1* %{_mandir}/man1/virt-df.1*
%{_bindir}/virt-edit %{_bindir}/virt-edit
@ -796,7 +770,12 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man1/virt-resize.1* %{_mandir}/man1/virt-resize.1*
%{_bindir}/virt-sparsify %{_bindir}/virt-sparsify
%{_mandir}/man1/virt-sparsify.1* %{_mandir}/man1/virt-sparsify.1*
%config(noreplace) %{_sysconfdir}/libguestfs-tools.conf %{_bindir}/virt-sysprep
%{_mandir}/man1/virt-sysprep.1*
%{_bindir}/virt-tar-in
%{_mandir}/man1/virt-tar-in.1*
%{_bindir}/virt-tar-out
%{_mandir}/man1/virt-tar-out.1*
%files tools %files tools
@ -913,6 +892,16 @@ rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Sat Oct 8 2011 Richard W.M. Jones <rjones@redhat.com> - 1:1.13.19-1
- New upstream version 1.13.19.
- New tool: virt-sysprep.
- Remove the old guestfish and libguestfs-mount packages, and put these
tools into libguestfs-tools. This change is long overdue, but is also
necessitated by the new virt-sysprep tool. This new tool would pull
in guestfish anyway, so having separate packages makes no sense.
- Remove old obsoletes for virt-cat, virt-df, virt-df2 and virt-inspector,
since those packages existed only in much older Fedora.
* Wed Oct 5 2011 Richard W.M. Jones <rjones@redhat.com> - 1:1.13.18-1 * Wed Oct 5 2011 Richard W.M. Jones <rjones@redhat.com> - 1:1.13.18-1
- New upstream version 1.13.18. - New upstream version 1.13.18.
- New tool: virt-alignment-scan. - New tool: virt-alignment-scan.

View File

@ -1 +1 @@
61d62556ba51454451b2d2ceca7b498d libguestfs-1.13.18.tar.gz f807d31c6f7ec4049b3f41e43c6f3ed5 libguestfs-1.13.19.tar.gz