Have the xCAT rpms require the more specific version of perl-xCAT (e.g. 2.7.1 instead of 2.7)

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@11913 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
bp-sawyers 2012-03-20 15:50:48 +00:00
parent a18ae5b90d
commit 2c89d9d93a
4 changed files with 5 additions and 3 deletions

View File

@ -23,7 +23,7 @@ BuildArch: noarch
#Requires:
%endif
Requires: perl-xCAT >= %{epoch}:%(cat Version|cut -d. -f 1,2)
Requires: perl-xCAT >= %{epoch}:%(cat Version)
Requires: xCAT-client >= %{epoch}:%(cat Version|cut -d. -f 1,2)
Provides: xCAT-IBMhpc = %{epoch}:%{version}

View File

@ -19,6 +19,8 @@ BuildArch: noarch
Provides: xCAT-client = %{epoch}:%{version}
Requires: perl-xCAT >= %{epoch}:%(cat Version)
# fping or nmap is needed by pping (in case xCAT-client is installed by itself on a remote client)
%ifos linux
Requires: nmap

View File

@ -15,7 +15,7 @@ BuildRoot: /var/tmp/%{name}-%{version}-%{release}-root
BuildArch: noarch
%endif
Requires: perl-xCAT >= %{epoch}:%(cat Version|cut -d. -f 1,2)
Requires: perl-xCAT >= %{epoch}:%(cat Version)
Requires: xCAT-server >= %{epoch}:%(cat Version|cut -d. -f 1,2)
Provides: xCAT-rmc = %{version}

View File

@ -24,7 +24,7 @@ Requires: perl-IO-Socket-SSL perl-XML-Simple perl-IO-Tty perl-Crypt-SSLeay make
Obsoletes: atftp-xcat
%endif
Requires: perl-xCAT >= %{epoch}:%(cat Version|cut -d. -f 1,2)
Requires: perl-xCAT >= %{epoch}:%(cat Version)
Requires: xCAT-client >= %{epoch}:%(cat Version|cut -d. -f 1,2)
Provides: xCAT-server = %{epoch}:%{version}