psss / rpms / libguestfs

Forked from rpms/libguestfs 5 years ago
Clone
7cb911a
# If you have trouble building locally ('make local') try adding
7cb911a
#   %libguestfs_buildnet 1
7cb911a
# to your ~/.rpmmacros file.
7cb911a
337bd2e
# Enable to build using a network repo
337bd2e
# Default is disabled
337bd2e
%if %{defined libguestfs_buildnet}
337bd2e
%global buildnet %{libguestfs_buildnet}
337bd2e
%else
337bd2e
%global buildnet 0
337bd2e
%endif 
337bd2e
337bd2e
# Enable to make the appliance use virtio_blk
337bd2e
# Default is enabled
337bd2e
%if %{defined libguestfs_virtio}
337bd2e
%global with_virtio %{libguestfs_virtio}
337bd2e
%else
337bd2e
%global with_virtio 1
337bd2e
%endif 
337bd2e
337bd2e
# Mirror and updates repositories to use if building with network repo
337bd2e
%if %{defined libguestfs_mirror}
337bd2e
%global mirror %{libguestfs_mirror}
337bd2e
%else
337bd2e
%global mirror http://download.fedora.redhat.com/pub/fedora/linux/development/%{_arch}/os/
337bd2e
%endif
337bd2e
%if %{defined libguestfs_updates}
337bd2e
%global updates %{libguestfs_updates}
337bd2e
%else
337bd2e
%global updates none
337bd2e
%endif
337bd2e
337bd2e
# Enable to run tests during check
337bd2e
# Default is enabled
337bd2e
%if %{defined libguestfs_runtests}
337bd2e
%global runtests %{libguestfs_runtests}
337bd2e
%else
337bd2e
%global runtests 1
337bd2e
%endif
cf9a4f6
e9b1deb
Summary:       Access and modify virtual machine disk images
e9b1deb
Name:          libguestfs
e9b1deb
Epoch:         1
fe0e235
Version:       1.0.86
fe0e235
Release:       1%{?dist}
e9b1deb
License:       LGPLv2+
e9b1deb
Group:         Development/Libraries
e9b1deb
URL:           http://libguestfs.org/
e9b1deb
Source0:       http://libguestfs.org/download/%{name}-%{version}.tar.gz
e9b1deb
BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root
cf9a4f6
11f4aa9
# Disable FUSE tests, not supported in Koji at the moment.
e9b1deb
Patch0:        libguestfs-1.0.79-no-fuse-test.patch
11f4aa9
cf9a4f6
# Basic build requirements:
cf9a4f6
BuildRequires: /usr/bin/pod2man
cf9a4f6
BuildRequires: /usr/bin/pod2text
3a74b4e
BuildRequires: febootstrap >= 2.6
3a8f9fb
BuildRequires: hivex-devel >= 1.2.0
cf9a4f6
BuildRequires: augeas-devel >= 0.5.0
cf9a4f6
BuildRequires: readline-devel
9bb2fc7
BuildRequires: genisoimage
3beaa38
BuildRequires: libxml2-devel
0e78dca
BuildRequires: qemu-kvm >= 0.10-7
cf9a4f6
BuildRequires: createrepo
8b5d7c1
BuildRequires: glibc-static
36ac7cc
BuildRequires: libselinux-devel
6e1c399
BuildRequires: fuse-devel
cf9a4f6
cf9a4f6
# This is only needed for RHEL 5 because readline-devel doesn't
cf9a4f6
# properly depend on it, but doesn't do any harm on other platforms:
cf9a4f6
BuildRequires: ncurses-devel
cf9a4f6
b30310c
# Build requirements for the appliance (see 'make.sh.in' in the source):
cf9a4f6
BuildRequires: kernel, bash, coreutils, lvm2, ntfs-3g, util-linux-ng
cf9a4f6
BuildRequires: MAKEDEV, net-tools, augeas-libs, file
cf9a4f6
BuildRequires: module-init-tools, procps, strace, iputils
36ac7cc
BuildRequires: dosfstools, zerofree, lsof, scrub, libselinux
280c138
BuildRequires: parted, btrfs-progs, gfs2-utils
9fe403d
BuildRequires: hfsplus-tools, nilfs-utils, reiserfs-utils
9fe403d
BuildRequires: jfsutils, xfsprogs
0c07f95
%ifarch %{ix86} x86_64
0c07f95
BuildRequires: grub, ntfsprogs
0c07f95
%endif
cf9a4f6
b30310c
# Must match the above set of BuildRequires exactly!
b30310c
Requires:      kernel, bash, coreutils, lvm2, ntfs-3g, util-linux-ng
b30310c
Requires:      MAKEDEV, net-tools, augeas-libs, file
b30310c
Requires:      module-init-tools, procps, strace, iputils
36ac7cc
Requires:      dosfstools, zerofree, lsof, scrub, libselinux
280c138
Requires:      parted, btrfs-progs, gfs2-utils
9fe403d
Requires:      hfsplus-tools, nilfs-utils, reiserfs-utils
9fe403d
Requires:      jfsutils, xfsprogs
b30310c
%ifarch %{ix86} x86_64
b30310c
Requires:      grub, ntfsprogs
b30310c
%endif
b30310c
cf9a4f6
# These are only required if you want to build the bindings for
cf9a4f6
# different languages:
cf9a4f6
BuildRequires: ocaml
cf9a4f6
BuildRequires: ocaml-findlib-devel
f14b2b0
BuildRequires: ocaml-xml-light-devel
cf9a4f6
BuildRequires: perl-devel
cf9a4f6
BuildRequires: perl-Test-Simple
cf9a4f6
BuildRequires: perl-Test-Pod
cf9a4f6
BuildRequires: perl-Test-Pod-Coverage
cf9a4f6
BuildRequires: perl-ExtUtils-MakeMaker
950c227
BuildRequires: perl-XML-Writer
212471f
BuildRequires: perl-libintl
cf9a4f6
BuildRequires: python-devel
cf9a4f6
BuildRequires: ruby-devel
cf9a4f6
BuildRequires: rubygem-rake
cf9a4f6
BuildRequires: java >= 1.5.0
cf9a4f6
BuildRequires: jpackage-utils
cf9a4f6
BuildRequires: java-devel
cf9a4f6
21de956
# For libguestfs-tools:
cf9a4f6
BuildRequires: perl-Sys-Virt
cf9a4f6
cf9a4f6
# Runtime requires:
3bc400e
Requires:      qemu-kvm >= 0.10-7
3bc400e
e5d687b
# For libguestfs-test-tool.
e5d687b
Requires:      genisoimage
e5d687b
ea6c8cd
# Provide our own custom requires for the supermin appliance.
e9b1deb
Source1:       libguestfs-find-requires.sh
ea6c8cd
%global _use_internal_dependency_generator 0
ea6c8cd
%global __find_provides %{_rpmconfigdir}/find-provides
ea6c8cd
%global __find_requires %{SOURCE1} %{_rpmconfigdir}/find-requires
ea6c8cd
cf9a4f6
cf9a4f6
%description
cf9a4f6
Libguestfs is a library for accessing and modifying guest disk images.
cf9a4f6
Amongst the things this is good for: making batch configuration
cf9a4f6
changes to guests, getting disk used/free statistics (see also:
cf9a4f6
virt-df), migrating between virtualization systems (see also:
cf9a4f6
virt-p2v), performing partial backups, performing partial guest
cf9a4f6
clones, cloning guests and changing registry/UUID/hostname info, and
cf9a4f6
much else besides.
cf9a4f6
cf9a4f6
Libguestfs uses Linux kernel and qemu code, and can access any type of
cf9a4f6
guest filesystem that Linux and qemu can, including but not limited
cf9a4f6
to: ext2/3/4, btrfs, FAT and NTFS, LVM, many different disk partition
cf9a4f6
schemes, qcow, qcow2, vmdk.
cf9a4f6
cf9a4f6
Libguestfs provides ways to enumerate guest storage (eg. partitions,
cf9a4f6
LVs, what filesystem is in each LV, etc.).  It can also run commands
6e1c399
in the context of the guest.
cf9a4f6
cf9a4f6
Libguestfs is a library that can be linked with C and C++ management
cf9a4f6
programs.
cf9a4f6
cf9a4f6
See also the 'guestfish' package for shell scripting and command line
6e1c399
access, and '%{name}-mount' for mounting guest filesystems on the
6e1c399
host using FUSE.
cf9a4f6
cf9a4f6
For Perl bindings, see 'perl-libguestfs'.
cf9a4f6
cf9a4f6
For OCaml bindings, see 'ocaml-libguestfs-devel'.
cf9a4f6
cf9a4f6
For Python bindings, see 'python-libguestfs'.
cf9a4f6
cf9a4f6
For Ruby bindings, see 'ruby-libguestfs'.
cf9a4f6
cf9a4f6
For Java bindings, see 'libguestfs-java-devel'.
cf9a4f6
cf9a4f6
cf9a4f6
%package devel
e9b1deb
Summary:       Development tools and libraries for %{name}
e9b1deb
Group:         Development/Libraries
e9b1deb
Requires:      %{name} = %{epoch}:%{version}-%{release}
e9b1deb
Requires:      pkgconfig
cf9a4f6
cf9a4f6
cf9a4f6
%description devel
cf9a4f6
%{name}-devel contains development tools and libraries
cf9a4f6
for %{name}.
cf9a4f6
cf9a4f6
cf9a4f6
%package -n guestfish
e9b1deb
Summary:       Shell for accessing and modifying virtual machine disk images
e9b1deb
Group:         Development/Tools
e9b1deb
License:       GPLv2+
e9b1deb
Requires:      %{name} = %{epoch}:%{version}-%{release}
e9b1deb
Requires:      /usr/bin/pod2text
e9b1deb
Requires:      virt-inspector
cf9a4f6
cf9a4f6
cf9a4f6
%description -n guestfish
cf9a4f6
Guestfish is the Filesystem Interactive SHell, for accessing and
cf9a4f6
modifying virtual machine disk images from the command line and shell
cf9a4f6
scripts.
cf9a4f6
cf9a4f6
6e1c399
%package mount
e9b1deb
Summary:       Mount guest filesystems on the host using FUSE and libguestfs
e9b1deb
Group:         Development/Tools
e9b1deb
License:       GPLv2+
e9b1deb
Requires:      %{name} = %{epoch}:%{version}-%{release}
e9b1deb
Requires:      virt-inspector
6e1c399
6e1c399
6e1c399
%description mount
6e1c399
The guestmount command lets you mount guest filesystems on the
6e1c399
host using FUSE and %{name}.
6e1c399
6e1c399
21de956
%package tools
e9b1deb
Summary:       System administration tools for virtual machines
e9b1deb
Group:         Development/Tools
e9b1deb
License:       GPLv2+
e9b1deb
Requires:      %{name} = %{epoch}:%{version}-%{release}
e9b1deb
Requires:      guestfish
e9b1deb
Requires:      perl-Sys-Virt
e9b1deb
Requires:      perl-XML-Writer
3a8f9fb
Requires:      hivex
cf9a4f6
21de956
# Obsolete and replace earlier packages.
e9b1deb
Provides:      virt-cat = %{epoch}:%{version}-%{release}
e9b1deb
Obsoletes:     virt-cat < %{epoch}:%{version}-%{release}
e9b1deb
Provides:      virt-df = %{epoch}:%{version}-%{release}
e9b1deb
Obsoletes:     virt-df < %{epoch}:%{version}-%{release}
e9b1deb
Provides:      virt-inspector = %{epoch}:%{version}-%{release}
e9b1deb
Obsoletes:     virt-inspector < %{epoch}:%{version}-%{release}
cf9a4f6
d41a885
# RHBZ#514309
e9b1deb
Provides:      virt-df2 = %{epoch}:%{version}-%{release}
e9b1deb
Obsoletes:     virt-df2 < %{epoch}:%{version}-%{release}
3b61f54
21de956
# These were never packages:
e9b1deb
Provides:      virt-edit = %{epoch}:%{version}-%{release}
e9b1deb
Provides:      virt-rescue = %{epoch}:%{version}-%{release}
3b61f54
3b61f54
21de956
%description tools
21de956
This package contains miscellaneous system administrator command line
21de956
tools for virtual machines.
3b61f54
21de956
Virt-cat is a command line tool to display the contents of a file in a
21de956
virtual machine.
3b61f54
21de956
Virt-df is a command line tool to display free space on virtual
21de956
machine filesystems.  Unlike other tools, it doesn’t just display the
21de956
amount of space allocated to a virtual machine, but can look inside
21de956
the virtual machine to see how much space is really being used.  It is
21de956
like the df(1) command, but for virtual machines, except that it also
21de956
works for Windows virtual machines.
21de956
21de956
Virt-edit is a command line tool to edit the contents of a file in a
21de956
virtual machine.
212471f
21de956
Virt-inspector examines a virtual machine and tries to determine the
21de956
version of the OS, the kernel version, what drivers are installed,
21de956
whether the virtual machine is fully virtualized (FV) or
21de956
para-virtualized (PV), what applications are installed and more.
212471f
3b9fd3d
Virt-list-filesystems can be used to list out the filesystems in a
3b9fd3d
virtual machine image (for shell scripts etc).
3b9fd3d
cffc8d6
Virt-ls is a command line tool to list out files in a virtual machine.
cffc8d6
21de956
Virt-rescue provides a rescue shell for making interactive,
21de956
unstructured fixes to virtual machines.
212471f
cffc8d6
Virt-tar is an archive, backup and upload tool for virtual machines.
cffc8d6
ac7e6a1
Virt-win-reg lets you look inside the Windows Registry for
ac7e6a1
Windows virtual machines.
ac7e6a1
212471f
cf9a4f6
%package -n ocaml-%{name}
e9b1deb
Summary:       OCaml bindings for %{name}
e9b1deb
Group:         Development/Libraries
e9b1deb
Requires:      %{name} = %{epoch}:%{version}-%{release}
cf9a4f6
cf9a4f6
cf9a4f6
%description -n ocaml-%{name}
cf9a4f6
ocaml-%{name} contains OCaml bindings for %{name}.
cf9a4f6
cf9a4f6
This is for toplevel and scripting access only.  To compile OCaml
cf9a4f6
programs which use %{name} you will also need ocaml-%{name}-devel.
cf9a4f6
cf9a4f6
cf9a4f6
%package -n ocaml-%{name}-devel
e9b1deb
Summary:       OCaml bindings for %{name}
e9b1deb
Group:         Development/Libraries
e9b1deb
Requires:      ocaml-%{name} = %{epoch}:%{version}-%{release}
cf9a4f6
cf9a4f6
cf9a4f6
%description -n ocaml-%{name}-devel
cf9a4f6
ocaml-%{name}-devel contains development libraries
cf9a4f6
required to use the OCaml bindings for %{name}.
cf9a4f6
cf9a4f6
cf9a4f6
%package -n perl-%{name}
e9b1deb
Summary:       Perl bindings for %{name}
e9b1deb
Group:         Development/Libraries
e9b1deb
Requires:      %{name} = %{epoch}:%{version}-%{release}
e9b1deb
Requires:      perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
9fae0e8
# RHBZ#523547
e9b1deb
Requires:      perl-XML-XPath
cf9a4f6
cf9a4f6
cf9a4f6
%description -n perl-%{name}
cf9a4f6
perl-%{name} contains Perl bindings for %{name}.
cf9a4f6
cf9a4f6
cf9a4f6
%package -n python-%{name}
e9b1deb
Summary:       Python bindings for %{name}
e9b1deb
Group:         Development/Libraries
e9b1deb
Requires:      %{name} = %{epoch}:%{version}-%{release}
cf9a4f6
cf9a4f6
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
cf9a4f6
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
cf9a4f6
cf9a4f6
%description -n python-%{name}
cf9a4f6
python-%{name} contains Python bindings for %{name}.
cf9a4f6
cf9a4f6
cf9a4f6
%package -n ruby-%{name}
e9b1deb
Summary:       Ruby bindings for %{name}
e9b1deb
Group:         Development/Libraries
e9b1deb
Requires:      %{name} = %{epoch}:%{version}-%{release}
e9b1deb
Requires:      ruby(abi) = 1.8
e9b1deb
Provides:      ruby(guestfs) = %{version}
cf9a4f6
cf9a4f6
%{!?ruby_sitelib: %define ruby_sitelib %(ruby -rrbconfig -e "puts Config::CONFIG['sitelibdir']")}
cf9a4f6
%{!?ruby_sitearch: %define ruby_sitearch %(ruby -rrbconfig -e "puts Config::CONFIG['sitearchdir']")}
cf9a4f6
cf9a4f6
%description -n ruby-%{name}
cf9a4f6
ruby-%{name} contains Ruby bindings for %{name}.
cf9a4f6
cf9a4f6
cf9a4f6
%package java
e9b1deb
Summary:       Java bindings for %{name}
e9b1deb
Group:         Development/Libraries
e9b1deb
Requires:      %{name} = %{epoch}:%{version}-%{release}
e9b1deb
Requires:      java >= 1.5.0
e9b1deb
Requires:      jpackage-utils
cf9a4f6
cf9a4f6
%description java
cf9a4f6
%{name}-java contains Java bindings for %{name}.
cf9a4f6
cf9a4f6
If you want to develop software in Java which uses %{name}, then
cf9a4f6
you will also need %{name}-java-devel.
cf9a4f6
cf9a4f6
cf9a4f6
%package java-devel
e9b1deb
Summary:       Java development package for %{name}
e9b1deb
Group:         Development/Libraries
e9b1deb
Requires:      %{name} = %{epoch}:%{version}-%{release}
e9b1deb
Requires:      %{name}-java = %{epoch}:%{version}-%{release}
cf9a4f6
cf9a4f6
%description java-devel
cf9a4f6
%{name}-java-devel contains the tools for developing Java software
cf9a4f6
using %{name}.
cf9a4f6
cf9a4f6
See also %{name}-javadoc.
cf9a4f6
cf9a4f6
cf9a4f6
%package javadoc
e9b1deb
Summary:       Java documentation for %{name}
e9b1deb
Group:         Development/Libraries
e9b1deb
Requires:      %{name} = %{epoch}:%{version}-%{release}
e9b1deb
Requires:      %{name}-java = %{epoch}:%{version}-%{release}
e9b1deb
Requires:      jpackage-utils
cf9a4f6
cf9a4f6
%description javadoc
cf9a4f6
%{name}-javadoc contains the Java documentation for %{name}.
cf9a4f6
cf9a4f6
cf9a4f6
%prep
cf9a4f6
%setup -q
cf9a4f6
11f4aa9
%patch0 -p1
11f4aa9
cf9a4f6
mkdir -p daemon/m4
cf9a4f6
cf9a4f6
cf9a4f6
%build
337bd2e
%if %{buildnet}
337bd2e
%define extra --with-mirror=%{mirror} --with-updates=%{updates}
337bd2e
%else
e9b1deb
# Build a local repository containing the packages used to
e9b1deb
# install the current buildroot (assuming we are being built
e9b1deb
# with mock or Koji).  Then tell febootstrap to reference this
e9b1deb
# local repository when building the appliance.
cf9a4f6
mkdir repo
5a57abd
find /var/cache/yum -type f -name '*.rpm' -print0 | xargs -0 cp -t repo
cf9a4f6
createrepo repo
b0d05cc
%define extra --with-mirror=file://$(pwd)/repo --with-repo=fedora-12 --with-updates=none
cf9a4f6
%endif
cf9a4f6
cf9a4f6
./configure \
cf9a4f6
  --prefix=%{_prefix} --libdir=%{_libdir} \
cf9a4f6
  --mandir=%{_mandir} \
cf9a4f6
  --with-qemu="qemu-kvm qemu-system-%{_build_arch} qemu" \
cf9a4f6
  --enable-debug-command \
b30310c
  --enable-supermin \
337bd2e
%if %{with_virtio}
7896cd1
  --with-drive-if=virtio \
337bd2e
%endif
cf9a4f6
  %{extra}
cf9a4f6
cf9a4f6
# This ensures that /usr/sbin/chroot is on the path.  Not needed
cf9a4f6
# except for RHEL 5, it shouldn't do any harm on other platforms.
cf9a4f6
export PATH=/usr/sbin:$PATH
cf9a4f6
cf9a4f6
# 'INSTALLDIRS' ensures that perl libs are installed in the vendor dir
cf9a4f6
# not the site dir.
cf9a4f6
make INSTALLDIRS=vendor %{?_smp_mflags}
cf9a4f6
9be0569
# Useful for debugging appliance problems.
9be0569
echo "==== files in initramfs ===="
9be0569
find initramfs -type f
9be0569
echo "==== hostfiles ===="
9be0569
ls -l appliance/*.supermin.hostfiles
9be0569
cat appliance/*.supermin.hostfiles
9be0569
echo "============"
9be0569
cf9a4f6
cf9a4f6
%check
25bc3cd
# Enable debugging - very useful if a test does fail, although
25bc3cd
# it produces masses of output in the build.log.
25bc3cd
export LIBGUESTFS_DEBUG=1
25bc3cd
490d04e
# Uncomment one of these, depending on whether you want to
490d04e
# do a very long and thorough test ('make check') or just
490d04e
# a quick test to see if things generally work.
490d04e
8c35314
# Tracking test issues:
8c35314
# BZ       archs        branch reason
8c35314
# 494075   ppc, ppc64          openbios bug causes "invalid/unsupported opcode"
8c35314
# 504273   ppc, ppc64          "no opcode defined"
8c35314
# 505109   ppc, ppc64          "Boot failure! No secondary bootloader specified"
8c35314
# 502058   i386, x86-64 F-11   need to boot with noapic (WORKAROUND ENABLED)
df21130
# 502074   i386         all    commands segfault randomly
a1be71a
# 503236   i386         F-12   cryptomgr_test at doublefault_fn
8c35314
# 507066   all          F-12   sequence of chroot calls (FIXED)
b683d64
# 513249   all          F-12   guestfwd broken in qemu (FIXED)
c7f566c
# 516022   all          F-12   virtio-net gives "Network is unreachable" errors
a6777ed
#                                 (FIXED)
b737f1b
# 516096   ?            F-11   race condition in swapoff/blockdev --rereadpt
95e2695
# 516543   ?            F-12   qemu-kvm segfaults when run inside a VM (FIXED)
33bdf80
# 548121   all          F-13   udevsettle command is broken (WORKAROUND)
b3ab8e1
# 553689   all          F-13   missing SeaBIOS (FIXED)
b955649
# 563103   all          F-13   glibc incorrect emulation of preadv/pwritev
9be0569
# 567567   32-bit       all    guestfish xstrtol test failure on 32-bit
8c35314
b955649
%if %{runtests}
b955649
%if 0
b3ab8e1
make check
33bdf80
%endif
b955649
%endif
cf9a4f6
984ff61
cf9a4f6
%install
cf9a4f6
rm -rf $RPM_BUILD_ROOT
cf9a4f6
cf9a4f6
make DESTDIR=$RPM_BUILD_ROOT install
cf9a4f6
b30310c
# Delete the ordinary appliance, leaving just the supermin appliance.
4233640
rm $RPM_BUILD_ROOT%{_libdir}/guestfs/vmlinuz.*
46a42a1
mkdir keep
46a42a1
mv $RPM_BUILD_ROOT%{_libdir}/guestfs/initramfs.*.supermin.img keep
4233640
rm $RPM_BUILD_ROOT%{_libdir}/guestfs/initramfs.*.img
46a42a1
mv keep/* $RPM_BUILD_ROOT%{_libdir}/guestfs/
46a42a1
rmdir keep
b30310c
b30310c
# Delete static libraries, libtool files.
cf9a4f6
rm $RPM_BUILD_ROOT%{_libdir}/libguestfs.a
cf9a4f6
rm $RPM_BUILD_ROOT%{_libdir}/libguestfs.la
cf9a4f6
cf9a4f6
# Clean up the examples/ directory which will get installed in %doc.
cf9a4f6
# Note we can't delete the original examples/Makefile because that
cf9a4f6
# will be needed by the check section later in the RPM build.
cf9a4f6
cp -a examples ex
cf9a4f6
pushd ex
cf9a4f6
make clean
cf9a4f6
rm Makefile*
cf9a4f6
rm -rf .deps .libs
cf9a4f6
popd
cf9a4f6
cf9a4f6
# Same for ocaml/examples.
cf9a4f6
cp -a ocaml/examples ocaml/ex
cf9a4f6
pushd ocaml/ex
cf9a4f6
make clean
cf9a4f6
rm Makefile*
cf9a4f6
popd
cf9a4f6
cf9a4f6
find $RPM_BUILD_ROOT -name perllocal.pod -delete
cf9a4f6
find $RPM_BUILD_ROOT -name .packlist -delete
cf9a4f6
find $RPM_BUILD_ROOT -name '*.bs' -delete
6e1c399
find $RPM_BUILD_ROOT -name 'bindtests.pl' -delete
cf9a4f6
cf9a4f6
rm $RPM_BUILD_ROOT%{python_sitearch}/libguestfsmod.a
cf9a4f6
rm $RPM_BUILD_ROOT%{python_sitearch}/libguestfsmod.la
cf9a4f6
cf9a4f6
if [ "$RPM_BUILD_ROOT%{python_sitearch}" != "$RPM_BUILD_ROOT%{python_sitelib}" ]; then
cf9a4f6
   mkdir -p $RPM_BUILD_ROOT%{python_sitelib}
cf9a4f6
   mv $RPM_BUILD_ROOT%{python_sitearch}/guestfs.py* \
cf9a4f6
     $RPM_BUILD_ROOT%{python_sitelib}/
cf9a4f6
fi
cf9a4f6
cf9a4f6
# Install ruby bindings by hand.
cf9a4f6
mkdir -p $RPM_BUILD_ROOT%{ruby_sitelib}
cf9a4f6
mkdir -p $RPM_BUILD_ROOT%{ruby_sitearch}
cf9a4f6
install -p -m0644 ruby/lib/guestfs.rb $RPM_BUILD_ROOT%{ruby_sitelib}
cf9a4f6
install -p -m0755 ruby/ext/guestfs/_guestfs.so $RPM_BUILD_ROOT%{ruby_sitearch}
cf9a4f6
cf9a4f6
# Remove static-linked Java bindings.
cf9a4f6
rm $RPM_BUILD_ROOT%{_libdir}/libguestfs_jni.a
cf9a4f6
rm $RPM_BUILD_ROOT%{_libdir}/libguestfs_jni.la
cf9a4f6
f14b2b0
# Move installed documentation back to the source directory so
f14b2b0
# we can install it using a %%doc rule.
f14b2b0
mv $RPM_BUILD_ROOT%{_docdir}/libguestfs installed-docs
f14b2b0
16c80f1
# Find locale files.
16c80f1
%find_lang %{name}
16c80f1
cf9a4f6
cf9a4f6
%clean
cf9a4f6
rm -rf $RPM_BUILD_ROOT
cf9a4f6
cf9a4f6
cf9a4f6
%post -p /sbin/ldconfig
cf9a4f6
cf9a4f6
%postun -p /sbin/ldconfig
cf9a4f6
cf9a4f6
16c80f1
%files -f %{name}.lang
cf9a4f6
%defattr(-,root,root,-)
cf9a4f6
%doc COPYING
6e1c399
%{_bindir}/libguestfs-supermin-helper
6e1c399
%{_bindir}/libguestfs-test-tool
cf9a4f6
%{_libdir}/guestfs/
cf9a4f6
%{_libdir}/libguestfs.so.*
e5d687b
%{_libexecdir}/libguestfs-test-tool-helper
e5d687b
%{_mandir}/man1/libguestfs-test-tool.1*
cf9a4f6
cf9a4f6
cf9a4f6
%files devel
cf9a4f6
%defattr(-,root,root,-)
cf9a4f6
%doc ChangeLog HACKING TODO README ex html/guestfs.3.html html/pod.css
f14b2b0
%doc installed-docs/*
cf9a4f6
%{_libdir}/libguestfs.so
cf9a4f6
%{_mandir}/man3/guestfs.3*
e030c89
%{_mandir}/man3/libguestfs.3*
cf9a4f6
%{_includedir}/guestfs.h
cf9a4f6
%{_includedir}/guestfs-actions.h
cf9a4f6
%{_includedir}/guestfs-structs.h
cf9a4f6
%{_libdir}/pkgconfig/libguestfs.pc
cf9a4f6
cf9a4f6
cf9a4f6
%files -n guestfish
cf9a4f6
%defattr(-,root,root,-)
cf9a4f6
%doc html/guestfish.1.html html/pod.css recipes/
cf9a4f6
%{_bindir}/guestfish
cf9a4f6
%{_mandir}/man1/guestfish.1*
cf9a4f6
cf9a4f6
6e1c399
%files mount
6e1c399
%defattr(-,root,root,-)
6e1c399
%doc COPYING
6e1c399
%{_bindir}/guestmount
6e1c399
%{_mandir}/man1/guestmount.1*
6e1c399
6e1c399
21de956
%files tools
212471f
%defattr(-,root,root,-)
212471f
%{_bindir}/virt-cat
212471f
%{_mandir}/man1/virt-cat.1*
21de956
%{_bindir}/virt-df
21de956
%{_mandir}/man1/virt-df.1*
21de956
%{_bindir}/virt-edit
21de956
%{_mandir}/man1/virt-edit.1*
21de956
%{_bindir}/virt-inspector
21de956
%{_mandir}/man1/virt-inspector.1*
3b9fd3d
%{_bindir}/virt-list-filesystems
3b9fd3d
%{_mandir}/man1/virt-list-filesystems.1*
cffc8d6
%{_bindir}/virt-ls
cffc8d6
%{_mandir}/man1/virt-ls.1*
21de956
%{_bindir}/virt-rescue
21de956
%{_mandir}/man1/virt-rescue.1*
cffc8d6
%{_bindir}/virt-tar
cffc8d6
%{_mandir}/man1/virt-tar.1*
ac7e6a1
%{_bindir}/virt-win-reg
ac7e6a1
%{_mandir}/man1/virt-win-reg.1*
212471f
212471f
cf9a4f6
%files -n ocaml-%{name}
cf9a4f6
%defattr(-,root,root,-)
cf9a4f6
%doc README
cf9a4f6
%{_libdir}/ocaml/guestfs
cf9a4f6
%exclude %{_libdir}/ocaml/guestfs/*.a
cf9a4f6
%exclude %{_libdir}/ocaml/guestfs/*.cmxa
cf9a4f6
%exclude %{_libdir}/ocaml/guestfs/*.cmx
cf9a4f6
%exclude %{_libdir}/ocaml/guestfs/*.mli
cf9a4f6
%{_libdir}/ocaml/stublibs/*.so
cf9a4f6
%{_libdir}/ocaml/stublibs/*.so.owner
cf9a4f6
cf9a4f6
cf9a4f6
%files -n ocaml-%{name}-devel
cf9a4f6
%defattr(-,root,root,-)
cf9a4f6
%doc ocaml/ex
cf9a4f6
%{_libdir}/ocaml/guestfs/*.a
cf9a4f6
%{_libdir}/ocaml/guestfs/*.cmxa
cf9a4f6
%{_libdir}/ocaml/guestfs/*.cmx
cf9a4f6
%{_libdir}/ocaml/guestfs/*.mli
cf9a4f6
cf9a4f6
cf9a4f6
%files -n perl-%{name}
cf9a4f6
%defattr(-,root,root,-)
cf9a4f6
%doc perl/examples
cf9a4f6
%{perl_vendorarch}/*
cf9a4f6
%{_mandir}/man3/Sys::Guestfs.3pm*
3b61f54
%{_mandir}/man3/Sys::Guestfs::Lib.3pm*
cf9a4f6
cf9a4f6
cf9a4f6
%files -n python-%{name}
cf9a4f6
%defattr(-,root,root,-)
cf9a4f6
%doc README
cf9a4f6
%{python_sitearch}/*
cf9a4f6
%{python_sitelib}/*.py
cf9a4f6
%{python_sitelib}/*.pyc
cf9a4f6
%{python_sitelib}/*.pyo
cf9a4f6
cf9a4f6
cf9a4f6
%files -n ruby-%{name}
cf9a4f6
%defattr(-,root,root,-)
cf9a4f6
%doc README
cf9a4f6
%{ruby_sitelib}/guestfs.rb
cf9a4f6
%{ruby_sitearch}/_guestfs.so
cf9a4f6
cf9a4f6
cf9a4f6
%files java
cf9a4f6
%defattr(-,root,root,-)
cf9a4f6
%doc README
cf9a4f6
%{_libdir}/libguestfs_jni*.so.*
cf9a4f6
%{_datadir}/java/*.jar
cf9a4f6
cf9a4f6
cf9a4f6
%files java-devel
cf9a4f6
%defattr(-,root,root,-)
cf9a4f6
%doc README
cf9a4f6
%{_libdir}/libguestfs_jni*.so
cf9a4f6
cf9a4f6
cf9a4f6
%files javadoc
cf9a4f6
%defattr(-,root,root,-)
cf9a4f6
%doc README
cf9a4f6
%{_datadir}/javadoc/%{name}-java-%{version}
cf9a4f6
cf9a4f6
cf9a4f6
%changelog
fe0e235
* Fri Mar 12 2010 Richard W.M. Jones <rjones@redhat.com> - 1:1.0.86-1
fe0e235
- New upstream version 1.0.86.
fe0e235
- libguestfs-supermin-helper rewritten in C (from shell), reduces
fe0e235
  appliance boot time by 2-3 seconds.
fe0e235
- Fix parsing of integers in guestfish on 32 bit platforms (RHBZ#569757
fe0e235
  and RHBZ#567567).
fe0e235
- Enhance virt-inspector output for Windows guests.
fe0e235
- Add product_name field to virt-inspector output for all guests.
fe0e235
- Weaken dependencies on libntfs-3g.so, don't include SONAME in dep.
fe0e235
- Remove false dependency on libply (plymouth libraries).
fe0e235
- Spanish translation (RHBZ#570181).
fe0e235
- Fix bash regexp quoting bug.
fe0e235
277c9c1
* Fri Mar 12 2010 Richard W.M. Jones <rjones@redhat.com> - 1:1.0.85-4
277c9c1
- Bump and rebuild.
277c9c1
7e5f891
* Thu Mar 11 2010 Richard W.M. Jones <rjones@redhat.com> - 1:1.0.85-3
7e5f891
- Bump and rebuild.
7e5f891
df21130
* Sat Mar 06 2010 Richard W.M. Jones <rjones@redhat.com> - 1:1.0.85-2
df21130
- Bump and rebuild.
df21130
3a8f9fb
* Mon Mar  1 2010 Richard W.M. Jones <rjones@redhat.com> - 1:1.0.85-1
3a8f9fb
- New upstream version 1.0.85.
3a8f9fb
- Remove hivex, now a separate upstream project and package.
3a8f9fb
- Remove supermin quoting patch, now upstream.
3a8f9fb
7cb911a
* Mon Mar  1 2010 Richard W.M. Jones <rjones@redhat.com> - 1:1.0.84-6
7cb911a
- Fix quoting in supermin-split script (RHBZ#566511).
7cb911a
- Don't include bogus './builddir' entries in supermin hostfiles
7cb911a
  (RHBZ#566512).
7cb911a
e9b1deb
* Mon Feb 22 2010 Richard W.M. Jones <rjones@redhat.com> - 1:1.0.84-4
e9b1deb
- Don't include generator.ml in rpm.  It's 400K and almost no one will need it.
e9b1deb
- Add comments to spec file about how repo building works.
e9b1deb
- Whitespace changes in the spec file.
e9b1deb
ba930f1
* Mon Feb 22 2010 Richard W.M. Jones <rjones@redhat.com> - 1:1.0.84-3
ba930f1
- Bump and rebuild.
ba930f1
92956b0
* Tue Feb 16 2010 Richard W.M. Jones <rjones@redhat.com> - 1:1.0.84-2
92956b0
- Bump and rebuild.
92956b0
d1672da
* Fri Feb 12 2010 Richard W.M. Jones <rjones@redhat.com> - 1:1.0.84-1
d1672da
- New upstream version 1.0.84.
d1672da
e571765
* Fri Feb 12 2010 Richard W.M. Jones <rjones@redhat.com> - 1:1.0.83-8
e571765
- Bump and rebuild.
e571765
b955649
* Thu Feb 11 2010 Richard W.M. Jones <rjones@redhat.com> - 1.0.83-7
b955649
- Disable tests.  These fail in Koji (on RHEL 5 kernel) because of a
b955649
  bug in preadv/pwritev emulation in glibc (RHBZ#563103).
b955649
337bd2e
* Tue Feb  9 2010 Matthew Booth <mbooth@redhat.com> - 1.0.83-6
337bd2e
- Change buildnonet to buildnet
337bd2e
- Allow buildnet, mirror, updates, virtio and runtests to be configured by user
337bd2e
  macros.
337bd2e
824ca68
* Mon Feb  8 2010 Richard W.M. Jones <rjones@redhat.com> - 1.0.83-5
824ca68
- libguestfs-tools should require perl-XML-Writer (RHBZ#562858).
824ca68
7896cd1
* Mon Feb  8 2010 Richard W.M. Jones <rjones@redhat.com> - 1.0.83-4
7896cd1
- Use virtio for block device access (RHBZ#509383 is fixed).
7896cd1
10fab93
* Fri Feb  5 2010 Richard W.M. Jones <rjones@redhat.com> - 1.0.83-3
10fab93
- Rebuild: possible timing-related build problem in Koji.
10fab93
b831e90
* Fri Feb  5 2010 Richard W.M. Jones <rjones@redhat.com> - 1.0.83-2
e40e918
- New upstream release 1.0.83.
e40e918
- This release fixes:
e40e918
  Add Marathi translations (RHBZ#561671).
e40e918
  Polish translations (RHBZ#502533).
e40e918
  Add Gujarti translations (Sweta Kothari) (RHBZ#560918).
e40e918
  Update Oriya translations (thanks Manoj Kumar Giri) (RHBZ#559498).
e40e918
  Set locale in C programs so l10n works (RHBZ#559962).
e40e918
  Add Tamil translation (RHBZ#559877) (thanks to I.Felix)
e40e918
  Update Punjabi translation (RHBZ#559480) (thanks Jaswinder Singh)
e40e918
- There are significant fixes to hive file handling.
5b0cc88
- Add hivexsh and manual page.
b831e90
- Remove two patches, now upstream.
e40e918
4a4708e
* Sun Jan 31 2010 Richard W.M. Jones <rjones@redhat.com> - 1:1.0.82-7
4a4708e
- Bump and rebuild.
4a4708e
9c296f3
* Fri Jan 29 2010 Richard W.M. Jones <rjones@redhat.com> - 1.0.82-6
d622711
- Backport a better fix for RHBZ557655 test from upstream.
9c296f3
- Backport fix for unreadable yum.log from upstream.
d622711
37ed902
* Thu Jan 28 2010 Richard W.M. Jones <rjones@redhat.com> - 1.0.82-3
5be62f0
- Backport RHBZ557655 test fix from upstream.
5be62f0
c63b1ce
* Thu Jan 28 2010 Richard W.M. Jones <rjones@redhat.com> - 1.0.82-1
c63b1ce
- New upstream version 1.0.82.  This includes the two patches
c63b1ce
  we were carrying, so those are now removed.
c63b1ce
- This release fixes:
c63b1ce
  RHBZ#559498 (Oriya translation).
c63b1ce
  RHBZ#559480 (Punjabi translation).
c63b1ce
  RHBZ#558593 (Should prevent corruption by multilib).
c63b1ce
  RHBZ#559237 (Telugu translation).
c63b1ce
  RHBZ#557655 (Use xstrtol/xstrtoll to parse integers in guestfish).
c63b1ce
  RHBZ#557195 (Missing crc kernel modules for recent Linux).
c63b1ce
- In addition this contains numerous fixes to the hivex library
c63b1ce
  for parsing Windows Registry files, making hivex* and virt-win-reg
c63b1ce
  more robust.
c63b1ce
- New API call 'filesize'.
c63b1ce
8d09809
* Thu Jan 28 2010 Richard W.M. Jones <rjones@redhat.com> - 1.0.81-8
833535e
- Backport special handling of libgcc_s.so.
212d78e
- Backport unreadable files patch from RHEL 6 / upstream.
833535e
3a74b4e
* Fri Jan 22 2010 Richard W.M. Jones <rjones@redhat.com> - 1.0.81-5
3a74b4e
- Require febootstrap >= 2.6 (RHBZ#557262).
3a74b4e
1c406bd
* Thu Jan 21 2010 Richard W.M. Jones <rjones@redhat.com> - 1.0.81-4
1c406bd
- Rebuild for unannounced soname bump (libntfs-3g.so).
1c406bd
e4207a6
* Fri Jan 15 2010 Richard W.M. Jones <rjones@redhat.com> - 1.0.81-3
e4207a6
- Rebuild for unannounced soname bump (libplybootsplash.so).
e4207a6
58aeb83
* Thu Jan 14 2010 Richard W.M. Jones <rjones@redhat.com> - 1.0.81-2
58aeb83
- Rebuild for broken dependency (iptables soname bump).
58aeb83
d47d9eb
* Wed Jan 13 2010 Richard W.M. Jones <rjones@redhat.com> - 1.0.81-1
d47d9eb
- New upstream version 1.0.81.
d47d9eb
- Remove two upstream patches.
d47d9eb
- virt-inspector: Make RPM application data more specific (RHBZ#552718).
d47d9eb
b3ab8e1
* Tue Jan 12 2010 Richard W.M. Jones <rjones@redhat.com> - 1.0.80-14
b3ab8e1
- Reenable tests because RHBZ#553689 is fixed.
b3ab8e1
ee41923
* Tue Jan 12 2010 Richard W.M. Jones <rjones@redhat.com> - 1.0.80-13
ee41923
- Rebuild because of libparted soname bump (1.9 -> 2.1).
ee41923
a87df16
* Fri Jan  8 2010 Richard W.M. Jones <rjones@redhat.com> - 1.0.80-12
a87df16
- qemu in Rawhide is totally broken (RHBZ#553689).  Disable tests.
a87df16
280c138
* Thu Jan  7 2010 Richard W.M. Jones <rjones@redhat.com> - 1.0.80-11
280c138
- Remove gfs-utils (deprecated and removed from Fedora 13 by the
280c138
  upstream Cluster Suite developers).
280c138
- Include patch to fix regression in qemu -serial stdio option.
280c138
e2b1978
* Tue Dec 29 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.80-10
e2b1978
- Remove some debugging statements which were left in the requires
e2b1978
  script by accident.
e2b1978
ea6c8cd
* Mon Dec 21 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.80-9
ea6c8cd
- Generate additional requires for supermin (RHBZ#547496).
ea6c8cd
33bdf80
* Fri Dec 18 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.80-3
33bdf80
- Work around udevsettle command problem (RHBZ#548121).
33bdf80
- Enable tests.
33bdf80
703fa44
* Wed Dec 16 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.80-2
703fa44
- Disable tests because of RHBZ#548121.
703fa44
f8f2b57
* Wed Dec 16 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.80-1
f8f2b57
- New upstream release 1.0.80.
f8f2b57
- New Polish translations (RHBZ#502533).
f8f2b57
- Give a meaningful error if no usable kernels are found (RHBZ#539746).
3b9fd3d
- New tool: virt-list-filesystems
f8f2b57
22f0eaf
* Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 1:1.0.79-3
22f0eaf
- rebuild against perl 5.10.1
22f0eaf
11f4aa9
* Wed Nov 18 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.79-2
1b66d56
- New upstream release 1.0.79.
1b66d56
- Adds FUSE test script and multiple fixes for FUSE (RHBZ#538069).
1b66d56
- Fix virt-df in Xen (RHBZ#538041).
1b66d56
- Improve speed of supermin appliance.
11f4aa9
- Disable FUSE-related tests because Koji doesn't currently allow them.
11f4aa9
  fuse: device not found, try 'modprobe fuse' first
1b66d56
20d2558
* Tue Nov 10 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.78-2
9fe403d
- New upstream release 1.0.78.
9fe403d
- Many more filesystem types supported by this release - add them
9fe403d
  as dependencies.
9fe403d
6e1c399
* Tue Nov  3 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.77-1
6e1c399
- New upstream release 1.0.77.
6e1c399
- Support for mounting guest in host using FUSE (guestmount command).
6e1c399
- hivex*(1) man pages should be in main package, not -devel, since
6e1c399
  they are user commands.
6e1c399
- libguestfs-tools: Fix "self-obsoletion" issue raised by rpmlint.
6e1c399
- perl: Remove bogus script Sys/bindtests.pl.
6e1c399
3beaa38
* Thu Oct 29 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.75-2
ac7e6a1
- New upstream release 1.0.75.
ac7e6a1
- New library: libhivex.
ac7e6a1
- New tools: virt-win-reg, hivexml, hivexget.
ac7e6a1
- Don't require chntpw.
3beaa38
- Add BR libxml2-devel, accidentally omitted before.
ac7e6a1
cffc8d6
* Tue Oct 20 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.74-1
cffc8d6
- New upstream release 1.0.74.
cffc8d6
- New API call: guestfs_find0.
cffc8d6
- New tools: virt-ls, virt-tar.
cffc8d6
f14b2b0
* Wed Oct 14 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.73-1
f14b2b0
- New upstream release 1.0.73.
f14b2b0
- OCaml library now depends on xml-light.
f14b2b0
- Deal with installed documentation.
f14b2b0
a52ed65
* Tue Sep 29 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.72-2
a52ed65
- Force rebuild.
a52ed65
21de956
* Wed Sep 23 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.72-1
21de956
- New upstream release 1.0.72.
21de956
- New tools: virt-edit, virt-rescue.
21de956
- Combine virt-cat, virt-df, virt-edit, virt-inspector and virt-rescue
21de956
  into a single package called libguestfs-tools.
21de956
43978d1
* Tue Sep 22 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.71-2
f0ea34d
- New upstream release 1.0.71.
f0ea34d
9fae0e8
* Fri Sep 18 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.70-2
9fae0e8
- Perl bindings require perl-XML-XPath (fixed RHBZ#523547).
9fae0e8
19d7809
* Tue Sep 15 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.70-1
19d7809
- New upstream release 1.0.70.
19d7809
- Fixes build problem related to old version of GNU gettext.
19d7809
95e2695
* Tue Sep 15 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.69-1
95e2695
- New upstream release 1.0.69.
95e2695
- Reenable the tests (because RHBZ#516543 is supposed to be fixed).
95e2695
- New main loop code should fix RHBZ#501888, RHBZ#504418.
95e2695
- Add waitpid along guestfs_close path (fixes RHBZ#518747).
95e2695
9bb2fc7
* Wed Aug 19 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.68-2
f9ffe20
- New upstream release 1.0.68.
9bb2fc7
- BR genisoimage.
f9ffe20
a6777ed
* Thu Aug 13 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.67-2
c4157a6
- New upstream release 1.0.67.
c4157a6
16cf2eb
* Fri Aug  7 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.66-5
9f24b45
- Set network interface to ne2k_pci (workaround for RHBZ#516022).
c883d54
- Rerun autoconf because patch touches configure script.
9f24b45
c7f566c
* Thu Aug  6 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.66-1
c7f566c
- New upstream release 1.0.66.
c7f566c
d41a885
* Wed Jul 29 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.65-1
d41a885
- New upstream release 1.0.65.
d41a885
- Add Obsoletes for virt-df2 (RHBZ#514309).
d41a885
- Disable tests because of ongoing TCG problems with newest qemu in Rawhide.
d41a885
a1be71a
* Thu Jul 23 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.64-3
b683d64
- RHBZ#513249 bug in qemu is now fixed, so try to rebuild and run tests.
a1be71a
- However RHBZ#503236 still prevents us from testing on i386.
b683d64
bdb0dfc
* Thu Jul 23 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.64-1
bdb0dfc
- New upstream release 1.0.64.
e5d687b
- New tool 'libguestfs-test-tool'.
e5d687b
212471f
* Wed Jul 15 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.61-1
212471f
- New upstream release 1.0.61.
212471f
- New tool / subpackage 'virt-cat'.
212471f
- New BR perl-libintl.
212471f
6cc64de
* Wed Jul 15 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.60-2
6cc64de
- Fix runtime Requires so they use epoch correctly.
6cc64de
69a456b
* Tue Jul 14 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.60-1
69a456b
- New upstream release 1.0.60.
e263d4b
d3b8860
* Fri Jul 10 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.58-2
585a4fb
- New upstream release 1.0.58.
585a4fb
3b61f54
* Fri Jul 10 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.57-1
3b61f54
- New upstream release 1.0.57.
3b61f54
- New tool virt-df (obsoletes existing package with this name).
3b61f54
- RHBZ#507066 may be fixed, so reenable tests.
3b61f54
750d27c
* Tue Jul  7 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.56-2
e7d4488
- New upstream release 1.0.56.
750d27c
- Don't rerun generator.
e7d4488
e030c89
* Thu Jul  2 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.55-1
e030c89
- New upstream release 1.0.55.
e030c89
- New manual page libguestfs(3).
e030c89
950c227
* Mon Jun 29 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.54-2
586f7ff
- New upstream release 1.0.54.
950c227
- +BR perl-XML-Writer.
586f7ff
2cbf732
* Wed Jun 24 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.53-1
2cbf732
- New upstream release 1.0.53.
2cbf732
- Disable all tests (because of RHBZ#507066).
2cbf732
7779bb6
* Wed Jun 24 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.52-1
7779bb6
- New upstream release 1.0.52.
7779bb6
554831c
* Mon Jun 22 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.51-1
554831c
- New upstream release 1.0.51.
b131c86
- Removed patches which are now upstream.
8e2bde3
69d291b
* Sat Jun 20 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.49-5
ffe9c96
- Remove workaround for RHBZ#507007, since bug is now fixed.
87afda4
- Pull in upstream patch to fix pclose checking
87afda4
  (testing as possible fix for RHBZ#507066).
69d291b
- Pull in upstream patch to check waitpid return values
69d291b
  (testing as possible fix for RHBZ#507066).
ffe9c96
8db373f
* Fri Jun 19 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.49-2
0a6223f
- New upstream release 1.0.49.
8db373f
- Add workaround for RHBZ#507007.
0a6223f
46a42a1
* Tue Jun 16 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.48-2
46a42a1
- Accidentally omitted the supermin image from previous version.
46a42a1
b85765a
* Tue Jun 16 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.48-1
b85765a
- New upstream release 1.0.48.
b85765a
- Should fix all the brokenness from 1.0.47.
b85765a
- Requires febootstrap >= 2.3.
b85765a
4233640
* Mon Jun 15 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.47-2
a8dad2f
- New upstream release 1.0.47.
b30310c
- Enable experimental supermin appliance build.
4233640
- Fix path to appliance.
b30310c
3003f4d
* Fri Jun 12 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.45-2
5a57abd
- New upstream release 1.0.45.
5a57abd
c34068c
* Wed Jun 10 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.44-2
c34068c
- Disable ppc/ppc64 tests again because of RHBZ#505109.
c34068c
dbdd072
* Wed Jun 10 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.44-1
dbdd072
- New upstream version 1.0.44.
dbdd072
- Try enabling tests on ppc & ppc64 since it looks like the bug(s?)
dbdd072
  in qemu which might have caused them to fail have been fixed.
dbdd072
7516e72
* Tue Jun  9 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.43-1
7516e72
- New upstream version 1.0.43.
7516e72
- New upstream URL.
7516e72
- Requires chntpw program.
7516e72
d18a48c
* Sat Jun  6 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.42-1
d18a48c
- New upstream version 1.0.42.
d18a48c
3127954
* Thu Jun  4 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.41-1
3127954
- New upstream version 1.0.41.
3127954
- Fixes a number of regressions in RHBZ#503169.
3127954
9999944
* Thu Jun  4 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.40-1
9999944
- New upstream version 1.0.40.
9999944
fada2d8
* Thu Jun  4 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.39-1
fada2d8
- New upstream version 1.0.39.
fada2d8
- Fixes:
fada2d8
  . libguestfs /dev is too sparse for kernel installation/upgrade (RHBZ#503169)
fada2d8
  . OCaml bindings build failure (RHBZ#502309)
fada2d8
246fbd2
* Tue Jun  2 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.38-2
d407ba1
- Disable tests on ix86 because of RHBZ#503236.
246fbd2
5025d15
* Tue Jun  2 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.38-1
5025d15
- New upstream version 1.0.38.
5025d15
c23c73c
* Fri May 29 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.37-1
c23c73c
- New upstream version 1.0.37.
c23c73c
- Fixes:
c23c73c
  . "mkdir-p" should not throw errors on preexisting directories (RHBZ#503133)
c23c73c
  . cramfs and squashfs modules should be available in libguestfs appliances
c23c73c
      (RHBZ#503135)
c23c73c
44096f2
* Thu May 28 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.36-2
7f81d42
- New upstream version 1.0.36.
44096f2
- Rerun the generator in prep section.
7f81d42
7d74ee0
* Thu May 28 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.35-1
7d74ee0
- New upstream version 1.0.35.
7d74ee0
- Fixes multiple bugs in bindings parameters (RHBZ#501892).
7d74ee0
88b12c7
* Wed May 27 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.34-1
88b12c7
- New upstream version 1.0.34.
88b12c7
10c7b87
* Wed May 27 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.33-1
10c7b87
- New upstream version 1.0.33.
10c7b87
- --with-java-home option is no longer required.
10c7b87
- Upstream contains potential fixes for:
10c7b87
    501878 built-in commands like 'alloc' and 'help' don't autocomplete
10c7b87
    501883 javadoc messed up in libguestfs java documentation
10c7b87
    501885 Doesn't detect missing Java, --with-java-home=no should not be needed
10c7b87
    502533 Polish translation of libguestfs
10c7b87
    n/a    Allow more ext filesystem kmods (Charles Duffy)
10c7b87
16c80f1
* Tue May 26 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.32-2
5e6ea43
- New upstream version 1.0.32.
16c80f1
- Use %%find_lang macro.
5e6ea43
5bd719e
* Sat May 23 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.31-1
5bd719e
- Rebuild for OCaml 3.11.1.
5bd719e
- New upstream version 1.0.31.
5bd719e
e8058cb
* Thu May 21 2009 Richard Jones <rjones@redhat.com> - 1.0.30-1
e8058cb
- New upstream version 1.0.30.  Now includes test-bootbootboot.sh script.
e8058cb
26da628
* Thu May 21 2009 Richard Jones <rjones@redhat.com> - 1.0.29-3
25bc3cd
- New upstream version 1.0.29 (fixes RHBZ#502007 RHBZ#502018).
25bc3cd
- This should allow us to enable tests for i386 and x86-64.
3606b80
- Added test-bootbootboot.sh script which was missed from 1.0.29 tarball.
26da628
- Pass kernel noapic flag to workaround RHBZ#502058.
bd8be47
7252ee3
* Thu May 21 2009 Richard Jones <rjones@redhat.com> - 1.0.28-1
7252ee3
- New upstream version 1.0.28.  Nothing has visibly changed, but
7252ee3
  the source has been gettextized and we want to check that doesn't
7252ee3
  break anything.
7252ee3
0e78dca
* Thu May 21 2009 Richard Jones <rjones@redhat.com> - 1.0.27-3
0e78dca
- Change requirement from qemu -> qemu-kvm (RHBZ#501761).
0e78dca
9a15f56
* Tue May 19 2009 Richard Jones <rjones@redhat.com> - 1.0.27-2
984ff61
- New upstream version 1.0.27.
984ff61
0f4751f
* Mon May 18 2009 Richard Jones <rjones@redhat.com> - 1.0.26-6
6273ef4
- Experimentally try to reenable ppc and ppc64 builds.
490d04e
- Note BZ numbers which are causing tests to fail.
6273ef4
f61f68c
* Mon May 18 2009 Richard Jones <rjones@redhat.com> - 1.0.26-1
f61f68c
- New upstream version 1.0.26.
f61f68c
97f65a5
* Tue May 12 2009 Richard Jones <rjones@redhat.com> - 1.0.25-4
5e04ce3
- New upstream version 1.0.25.
5e04ce3
- Enable debugging when running the tests.
97f65a5
- Disable tests - don't work correctly in Koji.
5e04ce3
8b5d7c1
* Tue May 12 2009 Richard Jones <rjones@redhat.com> - 1.0.24-1
8b5d7c1
- New upstream version 1.0.24.
8b5d7c1
- BRs glibc-static for the new command tests.
8b5d7c1
- Enable tests.
8b5d7c1
b0d05cc
* Mon May 11 2009 Richard Jones <rjones@redhat.com> - 1.0.23-2
cf1f09b
- New upstream version 1.0.23.
b0d05cc
- Don't try to use updates during build.
cf1f09b
dd0c4ae
* Fri May  8 2009 Richard Jones <rjones@redhat.com> - 1.0.21-3
cf9a4f6
- New upstream version 1.0.21.
cf9a4f6
cf9a4f6
* Thu May  7 2009 Richard Jones <rjones@redhat.com> - 1.0.20-2
cf9a4f6
- New upstream version 1.0.20.
cf9a4f6
cf9a4f6
* Thu May  7 2009 Richard Jones <rjones@redhat.com> - 1.0.19-1
cf9a4f6
- New upstream version 1.0.19.
cf9a4f6
cf9a4f6
* Tue Apr 28 2009 Richard Jones <rjones@redhat.com> - 1.0.15-1
cf9a4f6
- New upstream version 1.0.15.
cf9a4f6
cf9a4f6
* Fri Apr 24 2009 Richard Jones <rjones@redhat.com> - 1.0.12-1
cf9a4f6
- New upstream version 1.0.12.
cf9a4f6
cf9a4f6
* Wed Apr 22 2009 Richard Jones <rjones@redhat.com> - 1.0.6-1
cf9a4f6
- New upstream version 1.0.6.
cf9a4f6
cf9a4f6
* Mon Apr 20 2009 Richard Jones <rjones@redhat.com> - 1.0.2-1
cf9a4f6
- New upstream version 1.0.2.
cf9a4f6
cf9a4f6
* Thu Apr 16 2009 Richard Jones <rjones@redhat.com> - 0.9.9-12
cf9a4f6
- Multiple fixes to get it to scratch build in Koji.
cf9a4f6
cf9a4f6
* Sat Apr  4 2009 Richard Jones <rjones@redhat.com> - 0.9.9-1
cf9a4f6
- Initial build.