SHA256
1
0
forked from pool/libguestfs

move all BuildRequires for the initrd into the subpackage section

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=65
This commit is contained in:
Olaf Hering 2012-09-03 18:08:08 +00:00 committed by Git OBS Bridge
parent edd8433ad0
commit 8439719993

View File

@ -48,9 +48,6 @@ Requires: perl(Sys::Guestfs::Lib)
Requires: perl(Sys::Guestfs::Lib)
Requires: perl(Win::Hivex)
Requires: perl(Win::Hivex::Regedit)
%if %{?sles_version}0 > 0
BuildRequires: sles-release
%endif
%if %suse_version >= 1140
BuildRequires: augeas-devel
%endif
@ -60,33 +57,17 @@ BuildRequires: automake
BuildRequires: file-devel
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: genisoimage
BuildRequires: gperf
BuildRequires: hivex-devel
BuildRequires: kernel-default
BuildRequires: lvm2
%if %suse_version >= 1220
BuildRequires: libconfig-devel
%endif
BuildRequires: libtool
BuildRequires: libvirt-devel
BuildRequires: mdadm
BuildRequires: mkinitrd
BuildRequires: ncurses-devel
BuildRequires: parted
BuildRequires: pcre-devel
BuildRequires: pkg-config
BuildRequires: readline-devel
BuildRequires: util-linux
BuildRequires: xfsprogs
BuildRequires: btrfsprogs
BuildRequires: zerofree
BuildRequires: ntfsprogs
BuildRequires: ntfs-3g
BuildRequires: rsync
BuildRequires: cryptsetup
BuildRequires: iproute2
BuildRequires: strace
# perl as included in openSuSE 11.4 has this, but an older version without html_charset
# perl as included in openSuSE 12.1 includes 3.16, so require at least this version
BuildRequires: perl(Pod::Simple::XHTML) >= 3.16
@ -253,6 +234,41 @@ Allows Ruby scripts to directly use libguestfs.
%endif
%package data
# kernel-default needs that
%if %{?sles_version}0 > 0
BuildRequires: sles-release
%endif
BuildRequires: btrfsprogs
BuildRequires: bzip2
BuildRequires: coreutils
BuildRequires: cpio
BuildRequires: cryptsetup
BuildRequires: diffutils
BuildRequires: e2fsprogs
BuildRequires: file
BuildRequires: findutils
BuildRequires: gawk
BuildRequires: genisoimage
BuildRequires: glibc
BuildRequires: grep
BuildRequires: gzip
BuildRequires: iproute2
BuildRequires: kernel-default
BuildRequires: lvm2
BuildRequires: mdadm
BuildRequires: mkinitrd
BuildRequires: module-init-tools
BuildRequires: ntfs-3g
BuildRequires: ntfsprogs
BuildRequires: parted
BuildRequires: rsync
BuildRequires: strace
BuildRequires: tar
BuildRequires: udev
BuildRequires: util-linux
BuildRequires: xfsprogs
BuildRequires: xz
BuildRequires: zerofree
Summary: Virtual machine needed for libguestfs
Group: System/Filesystems