From 91757b1776ac87995e3002a498c4bd8ad826c5cb Mon Sep 17 00:00:00 2001 From: Daniel Mach Date: Feb 13 2012 13:56:21 +0000 Subject: Further excluded BRs and modules for RHEL 7. (cherry picked from commit f77f7f1cc4d37507242277a8a9cd0dbcac2672e3) --- diff --git a/libguestfs.spec b/libguestfs.spec index 02f9848..c4ea332 100644 --- a/libguestfs.spec +++ b/libguestfs.spec @@ -131,7 +131,9 @@ BuildRequires: vim-minimal BuildRequires: xfsprogs BuildRequires: xz BuildRequires: zerofree +%if !0%{?rhel} BuildRequires: zfs-fuse +%endif # Must match the above set of BuildRequires exactly! Requires: acl @@ -191,7 +193,9 @@ Requires: vim-minimal Requires: xfsprogs Requires: xz Requires: zerofree +%if !0%{?rhel} Requires: zfs-fuse +%endif # These are only required if you want to build the bindings for # different languages: @@ -1002,6 +1006,7 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/php/modules/guestfs_php.so +%if !0%{?rhel} %files -n erlang-%{name} %defattr(-,root,root,-) %doc erlang/README @@ -1010,6 +1015,7 @@ rm -rf $RPM_BUILD_ROOT %{_bindir}/erl-guestfs %{_libdir}/erlang/lib/%{name}-%{version} %{_mandir}/man3/guestfs-erlang.3* +%endif %if 0%{?fedora} >= 16