From 115c12eeba51678b8513c4f535ac506c1845070b Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Thu, 12 Mar 2009 17:13:35 -0700 Subject: [PATCH] Add zlib/zlib-devel rpm dependency --- zfs.spec.in | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/zfs.spec.in b/zfs.spec.in index 3895123e59..1a5565232d 100644 --- a/zfs.spec.in +++ b/zfs.spec.in @@ -51,8 +51,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u} -n) Source: %{name}-%{version}.tar.gz Requires: %{kstr} = %{kver} Requires: spl >= @VERSION@ +Requires: zlib BuildRequires: %{k_buildrequires} BuildRequires: %{spl_buildrequires} +BuildRequires: zlib-devel %description The %{name} package contains kernel modules and support utilities for @@ -61,10 +63,12 @@ the %{name} file system. %package devel Summary: ZFS File System Headers and Symbols Group: Development/Libraries -Requires: %{kstr} = %{kver} -Requires: spl >= @VERSION@ +Requires: %{k_buildrequires} = %{kver} +Requires: %{spl_buildrequires} >= @VERSION@ +Requires: zlib-devel BuildRequires: %{k_buildrequires} BuildRequires: %{spl_buildrequires} +BuildRequires: zlib-devel %description devel The %{name}-devel package contains the header files and Module.symvers