From 07a35df3157b39540ad48320857e3fc11fffd741 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Tue, 24 Nov 2009 14:54:33 -0800 Subject: [PATCH] The libuuid and libblkid have been split from e2fsprogs in fc12, el6, and ch5 systems. Additionally, correct ZFS filesystem detection has not yet been added to these packages so for now disable blkid. --- zfs.spec.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/zfs.spec.in b/zfs.spec.in index f3973339879c..1444f270ddeb 100644 --- a/zfs.spec.in +++ b/zfs.spec.in @@ -22,8 +22,13 @@ for the zfs file system. %package devel Summary: ZFS File System User Headers Group: Development/Libraries +%if %{defined ch5} || %{defined el6} || %{defined fc12} +Requires: zlib libuuid libblkid +BuildRequires: zlib-devel libuuid-devel libblkid-devel +%else Requires: zlib e2fsprogs BuildRequires: zlib-devel e2fsprogs-devel +%endif %description devel The %{name}-devel package contains the header files needed for building @@ -42,7 +47,7 @@ various system profiling tools to facilitate an in depth analysis. %prep %setup %build -%configure --with-config=user --with-blkid +%configure --with-config=user --without-blkid make %install