SHA256
1
0
forked from pool/libguestfs

- update BuildRequire ext4-writeable-kmp-default handling

enable it unconditional in sles11 builds, but not in the
  Virtualization repo because its a private package.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=166
This commit is contained in:
Olaf Hering 2012-11-29 19:27:20 +00:00 committed by Git OBS Bridge
parent f38ba01f5e
commit 4235031d54
2 changed files with 17 additions and 1 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Nov 29 20:25:33 CET 2012 - ohering@suse.de
- update BuildRequire ext4-writeable-kmp-default handling
enable it unconditional in sles11 builds, but not in the
Virtualization repo because its a private package.
-------------------------------------------------------------------
Thu Nov 29 20:15:11 CET 2012 - ohering@suse.de

View File

@ -281,9 +281,18 @@ BuildRequires: cryptsetup
BuildRequires: diffutils
BuildRequires: dosfstools
BuildRequires: e2fsprogs
%if "%_project" == "Devel:Virt:SLE-11-SP3"
# ext4 in the sles11 kernel-binary.rpm packages operates only in read-only mode.
# The generated initrd operates inside the temporary guest on image files.
# For that reason it needs to make modifications to any kind of filesystems.
# Make use of an ext4 driver with write support. But:
# This package exists only in the internal buildservice, so require it only there.
%if %suse_version == 1110
%if "%_project" == "Virtualization"
# package does not exist in OBS main repo
%else
BuildRequires: ext4-writeable-kmp-default
%endif
%endif
BuildRequires: file
BuildRequires: findutils
BuildRequires: gawk