- remove guestfs-doc subpackage, it contains just exmple xml files

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=154
This commit is contained in:
Olaf Hering 2012-11-14 16:31:29 +00:00 committed by Git OBS Bridge
parent 446a55c9c2
commit ee8ccc9b97
2 changed files with 10 additions and 28 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Nov 14 17:30:40 CET 2012 - ohering@suse.de
- remove guestfs-doc subpackage, it contains just exmple xml files
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Nov 14 16:39:14 CET 2012 - ohering@suse.de Wed Nov 14 16:39:14 CET 2012 - ohering@suse.de

View File

@ -45,6 +45,9 @@
%define _configure_python --disable-python %define _configure_python --disable-python
%define _configure_ruby --disable-ruby %define _configure_ruby --disable-ruby
#
%define guestfs_docdir %{_defaultdocdir}/%{name}
#
Name: libguestfs Name: libguestfs
ExclusiveArch: %ix86 x86_64 ExclusiveArch: %ix86 x86_64
BuildRequires: aaa_base BuildRequires: aaa_base
@ -168,28 +171,6 @@ guestfsd runs within the libguestfs appliance. It receives commands from the hos
and performs the requested action by calling the helper binaries. and performs the requested action by calling the helper binaries.
This package is only required for building the appliance. This package is only required for building the appliance.
%package -n guestfs-doc
Summary: Documentation for guestfs
Group: Documentation/Other
%description -n guestfs-doc
Documentation for guestfs.
libguestfs is a set of tools for accessing and modifying virtual machine (VM)
disk images. You can use this for viewing and editing files inside guests,
scripting changes to VMs, monitoring disk used/free statistics, P2V, V2V,
performing partial backups, cloning VMs, and much else besides.
libguestfs can access nearly any type of filesystem including: all known types
of Linux filesystem (ext2/3/4, XFS, btrfs etc), any Windows filesystem (VFAT
and NTFS), any Mac OS X and BSD filesystems, LVM2 volume management, MBR and
GPT disk partitions, raw disks, qcow2, VirtualBox VDI, VMWare VMDK, CD and DVD
ISOs, SD cards, and dozens more. libguestfs doesn't need root permissions.
All this functionality is available through a convenient shell called
guestfish, or use virt-rescue to get a rescue shell for fixing unbootable
virtual machines.
# #
%if %{with_ocaml_bindings} %if %{with_ocaml_bindings}
%package -n ocaml-libguestfs %package -n ocaml-libguestfs
@ -398,7 +379,7 @@ fi
--help || : --help || :
#sed -i '1 s@^.*@#!/bin/sh -x@' configure #sed -i '1 s@^.*@#!/bin/sh -x@' configure
%configure \ %configure \
--docdir=%{_defaultdocdir}/guestfs-doc \ --docdir=%{guestfs_docdir} \
--enable-daemon \ --enable-daemon \
--enable-install-daemon \ --enable-install-daemon \
--with-default-attach-method="${default_attach_method}" \ --with-default-attach-method="${default_attach_method}" \
@ -426,6 +407,7 @@ make \
%if !%{with_ocaml_bindings} %if !%{with_ocaml_bindings}
rm -rfv $RPM_BUILD_ROOT%{_libdir}/ocaml rm -rfv $RPM_BUILD_ROOT%{_libdir}/ocaml
%endif %endif
rm -rfv $RPM_BUILD_ROOT%{guestfs_docdir}
find $RPM_BUILD_ROOT -type f \( \ find $RPM_BUILD_ROOT -type f \( \
-name "virt-list-filesystems" -o -name "virt-list-filesystems.*" -o \ -name "virt-list-filesystems" -o -name "virt-list-filesystems.*" -o \
-name "virt-list-partitions" -o -name "virt-list-partitions.*" -o \ -name "virt-list-partitions" -o -name "virt-list-partitions.*" -o \
@ -590,11 +572,6 @@ rm -rf $RPM_BUILD_ROOT
%post -n libguestfs0 -p /sbin/ldconfig %post -n libguestfs0 -p /sbin/ldconfig
%postun -n libguestfs0 -p /sbin/ldconfig %postun -n libguestfs0 -p /sbin/ldconfig
%files -n guestfs-doc
%defattr(-,root,root)
%doc inspector/*.xml
%doc inspector/*.rng
%files -n guestfs-data %files -n guestfs-data
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/guestfs %{_libdir}/guestfs