forked from pool/libguestfs
update spec file to make hivex optional
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=109
This commit is contained in:
parent
e448caff31
commit
deebdecd47
@ -22,6 +22,7 @@
|
||||
%define with_perl 1
|
||||
%define with_ruby 1
|
||||
%define with_fuse 1
|
||||
%define with_hivex 1
|
||||
#
|
||||
# The following defines are overridden in the indivual subpackages
|
||||
%define _configure_fuse --disable-fuse
|
||||
@ -40,7 +41,6 @@ BuildRequires: file-devel
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: gperf
|
||||
BuildRequires: hivex-devel
|
||||
%if %suse_version >= 1220
|
||||
BuildRequires: libconfig-devel
|
||||
%endif
|
||||
@ -58,6 +58,9 @@ BuildRequires: perl(Pod::Simple::XHTML) >= 3.16
|
||||
BuildRequires: fuse-devel
|
||||
%define _configure_fuse --enable-fuse
|
||||
%endif
|
||||
%if %{with_hivex}
|
||||
BuildRequires: hivex-devel
|
||||
%endif
|
||||
#
|
||||
Url: http://libguestfs.org/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
Loading…
x
Reference in New Issue
Block a user