rpms/perl-Sys-Virt/devel perl-Sys-Virt.spec,1.2,1.3

Steven Pritchard (steve) fedora-extras-commits at redhat.com
Fri Aug 18 21:00:07 UTC 2006


Author: steve

Update of /cvs/extras/rpms/perl-Sys-Virt/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22407

Modified Files:
	perl-Sys-Virt.spec 
Log Message:
Make this spec work on FC5 or FC6.
Add ExclusiveArch to match xen and libvirt.



Index: perl-Sys-Virt.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-Sys-Virt/devel/perl-Sys-Virt.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- perl-Sys-Virt.spec	18 Aug 2006 20:12:49 -0000	1.2
+++ perl-Sys-Virt.spec	18 Aug 2006 21:00:07 -0000	1.3
@@ -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:  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 @@
 %{_mandir}/man3/*
 
 %changelog
+* Fri Aug 18 2006 Steven Pritchard <steve at kspei.com> 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 <steve at kspei.com> 0.1.1-4
 - BR xen-devel.
 




More information about the scm-commits mailing list