From f451c248f4c8d1fc0ba356199b425df08d17f862 Mon Sep 17 00:00:00 2001 From: bp-sawyers Date: Thu, 25 Jun 2009 19:21:30 +0000 Subject: [PATCH] Fix Requires of xCAT rpms git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3644 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-rmc/xCAT-rmc.spec | 4 ++-- xCAT-server/xCAT-server.spec | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/xCAT-rmc/xCAT-rmc.spec b/xCAT-rmc/xCAT-rmc.spec index 179b2b2ea..fae36f139 100644 --- a/xCAT-rmc/xCAT-rmc.spec +++ b/xCAT-rmc/xCAT-rmc.spec @@ -15,8 +15,8 @@ BuildRoot: /var/tmp/%{name}-%{version}-%{release}-root BuildArch: noarch %endif -Requires: perl-xCAT >= %{epoch}:%{version} -Requires: xCAT-server >= %{epoch}:%{version} +Requires: perl-xCAT >= %{epoch}:%(cat Version|cut -d. -f 1,2) +Requires: xCAT-server >= %{epoch}:%(cat Version|cut -d. -f 1,2) Provides: xCAT-rmc = %{version} diff --git a/xCAT-server/xCAT-server.spec b/xCAT-server/xCAT-server.spec index 9bb57bff9..f5c42213b 100644 --- a/xCAT-server/xCAT-server.spec +++ b/xCAT-server/xCAT-server.spec @@ -19,8 +19,8 @@ BuildArch: noarch Requires: perl-IO-Socket-SSL perl-XML-Simple perl-IO-Tty %endif -Requires: perl-xCAT >= %{epoch}:%{version} -Requires: xCAT-client >= %{epoch}:%{version} +Requires: perl-xCAT >= %{epoch}:%(cat Version|cut -d. -f 1,2) +Requires: xCAT-client >= %{epoch}:%(cat Version|cut -d. -f 1,2) Provides: xCAT-server = %{epoch}:%{version}