Package clean and fix build on x86

This commit is contained in:
Fabio M. Di Nitto 2009-03-12 12:45:32 +00:00
parent 49ba099153
commit e9466645cd

View File

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