From 58e3baf835cc726034ec1fa963be8633c51f6076 Mon Sep 17 00:00:00 2001 From: Steven Pritchard Date: Aug 18 2006 21:00:07 +0000 Subject: Make this spec work on FC5 or FC6. Add ExclusiveArch to match xen and libvirt. --- diff --git a/perl-Sys-Virt.spec b/perl-Sys-Virt.spec index 4cbadae..26bd82b 100644 --- a/perl-Sys-Virt.spec +++ b/perl-Sys-Virt.spec @@ -1,6 +1,6 @@ Name: perl-Sys-Virt Version: 0.1.1 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Represent and manage a libvirt hypervisor connection License: GPL Group: Development/Libraries @@ -13,7 +13,14 @@ BuildRequires: perl(Test::Pod::Coverage) BuildRequires: libvirt-devel >= 0.1.1 # https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=202320 BuildRequires: /usr/bin/pkg-config +%if %{!?fedora:0}%{?fedora} >= 6 BuildRequires: xen-devel +# libvirt/xen are only available on these: +ExclusiveArch: i386 x86_64 ia64 +%else +# libvirt/xen are only available on these: +ExclusiveArch: i386 x86_64 +%endif Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description @@ -58,6 +65,10 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3/* %changelog +* Fri Aug 18 2006 Steven Pritchard 0.1.1-5 +- Make this spec work on FC5 or FC6. +- Add ExclusiveArch to match xen and libvirt. + * Fri Aug 18 2006 Steven Pritchard 0.1.1-4 - BR xen-devel.