Package clean and fix build on x86
This commit is contained in:
parent
49ba099153
commit
e9466645cd
@ -19,7 +19,7 @@
|
||||
Name: fence-agents
|
||||
Summary: Fence Agents for Red Hat Cluster
|
||||
Version: 3.0.0
|
||||
Release: 8%{?alphatag:.%{alphatag}}%{?dist}
|
||||
Release: 9%{?alphatag:.%{alphatag}}%{?dist}
|
||||
License: GPLv2+ and LGPLv2+
|
||||
Group: System Environment/Base
|
||||
URL: http://sources.redhat.com/cluster/wiki/
|
||||
@ -28,13 +28,12 @@ Source0: ftp://sources.redhat.com/pub/cluster/releases/fence-agents-%{version}%{
|
||||
## Runtime deps
|
||||
Requires: sg3_utils OpenIPMI telnet openssh-clients
|
||||
Requires: pexpect net-snmp-utils pyOpenSSL
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
## Setup/build bits
|
||||
|
||||
# build support for virtualization
|
||||
%define buildvirt 0
|
||||
%ifarch i386 x86_64 ia64
|
||||
%ifarch i386 i486 i586 i686 x86_64 ia64
|
||||
%define buildvirt 1
|
||||
%endif
|
||||
|
||||
@ -49,7 +48,7 @@ BuildRequires: corosynclib-devel >= 0.94-3
|
||||
BuildRequires: openaislib-devel >= 0.93-2
|
||||
|
||||
%if %{buildvirt}
|
||||
BuildRequires: nss-devel nspr-devel libvirt-devel xen-libs
|
||||
BuildRequires: nss-devel nspr-devel libvirt-devel
|
||||
%endif
|
||||
|
||||
%prep
|
||||
@ -100,6 +99,11 @@ power management for several devices.
|
||||
%{_mandir}/man8/fence*
|
||||
|
||||
%changelog
|
||||
* Thu Mar 12 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.0-9.beta1
|
||||
- Fix arch check for virt support.
|
||||
- Drop unrequired BuildRequires.
|
||||
- Drop unrequired Requires: on perl.
|
||||
|
||||
* Mon Mar 9 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.0-8.beta1
|
||||
- New upstream release.
|
||||
- Update corosync/openais BuildRequires and Requires.
|
||||
|
Loading…
Reference in New Issue
Block a user