From 87d112392415df7604888cf343df4e48a3404513 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Tue, 17 Jan 2012 16:14:59 -0800 Subject: [PATCH] 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 --- spl-modules.spec.in | 2 +- spl.spec.in | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/spl-modules.spec.in b/spl-modules.spec.in index 7e01b2ce2..ace5cbcd6 100644 --- a/spl-modules.spec.in +++ b/spl-modules.spec.in @@ -178,7 +178,7 @@ Summary: Solaris Porting Layer Modules Group: Utilities/System Name: %{name} Version: %{version} -Release: %{release}%{?dist} +Release: %{release} License: @LICENSE@ URL: git://github.com/zfsonlinux/spl.git BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id} -un) diff --git a/spl.spec.in b/spl.spec.in index 7ade5f163..673cf129f 100644 --- a/spl.spec.in +++ b/spl.spec.in @@ -12,6 +12,7 @@ License: @LICENSE@ URL: git://github.com/zfsonlinux/spl.git BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id} -un) Source: %{name}-%{version}.tar.gz +Requires: spl-modules %description The %{name} package contains the support utilities for the spl.