[libguestfs/f17] Further excluded BRs and modules for RHEL 7. (cherry picked from commit f77f7f1cc4d37507242277a8a9cd

Richard W.M. Jones rjones at fedoraproject.org
Tue Feb 14 08:43:07 UTC 2012


commit 859dd43b10b1354c5026a951a31e6e2a73cf6ebc
Author: Daniel Mach <dmach at redhat.com>
Date:   Mon Feb 13 13:54:19 2012 +0000

    Further excluded BRs and modules for RHEL 7.
    (cherry picked from commit f77f7f1cc4d37507242277a8a9cd0dbcac2672e3)

 libguestfs.spec |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/libguestfs.spec b/libguestfs.spec
index 17fcef6..32a2ecd 100644
--- a/libguestfs.spec
+++ b/libguestfs.spec
@@ -128,7 +128,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
@@ -188,7 +190,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
 
 
 %files gobject


More information about the scm-commits mailing list