rpms/perl-Sys-Virt/FC-5 perl-Sys-Virt.spec,1.1,1.2

Steven Pritchard (steve) fedora-extras-commits at redhat.com
Fri Aug 18 20:54:25 UTC 2006


Author: steve

Update of /cvs/extras/rpms/perl-Sys-Virt/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22229

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/FC-5/perl-Sys-Virt.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- perl-Sys-Virt.spec	18 Aug 2006 18:40:28 -0000	1.1
+++ perl-Sys-Virt.spec	18 Aug 2006 20:54:25 -0000	1.2
@@ -1,6 +1,6 @@
 Name:           perl-Sys-Virt
 Version:        0.1.1
-Release:        3%{?dist}
+Release:        5%{?dist}
 Summary:        Represent and manage a libvirt hypervisor connection
 License:        GPL
 Group:          Development/Libraries
@@ -13,6 +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
@@ -57,6 +65,13 @@
 %{_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.
+
 * Fri Aug 18 2006 Steven Pritchard <steve at kspei.com> 0.1.1-3
 - BR Test::Pod and Test::Pod::Coverage.
 




More information about the scm-commits mailing list