Add zlib/zlib-devel rpm dependency

This commit is contained in:
Brian Behlendorf 2009-03-12 17:13:35 -07:00
parent f8764e9947
commit 115c12eeba
1 changed files with 6 additions and 2 deletions

View File

@ -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