Fix rpm dependencies

This change updates the rpm spec files to have strictly correct
package dependencies.  That means a few things:

* Add a dependency to the spl package for the spl-modules package.
  This ensures that when running 'yum install spl' that newest
  version of the spl-modules will be installed.

* Remove the redundant distribution release extension.  This
  is already added once because it is part of the kernel package
  release name.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
This commit is contained in:
Brian Behlendorf 2012-01-17 16:14:59 -08:00
parent a2eda2ff48
commit 87d1123924
2 changed files with 2 additions and 1 deletions

View File

@ -178,7 +178,7 @@ Summary: Solaris Porting Layer Modules
Group: Utilities/System Group: Utilities/System
Name: %{name} Name: %{name}
Version: %{version} Version: %{version}
Release: %{release}%{?dist} Release: %{release}
License: @LICENSE@ License: @LICENSE@
URL: git://github.com/zfsonlinux/spl.git URL: git://github.com/zfsonlinux/spl.git
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id} -un) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id} -un)

View File

@ -12,6 +12,7 @@ License: @LICENSE@
URL: git://github.com/zfsonlinux/spl.git URL: git://github.com/zfsonlinux/spl.git
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id} -un) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id} -un)
Source: %{name}-%{version}.tar.gz Source: %{name}-%{version}.tar.gz
Requires: spl-modules
%description %description
The %{name} package contains the support utilities for the spl. The %{name} package contains the support utilities for the spl.