SPECS (XEN_3_0_4): xen.spec - fixes merged from HEAD - gcc4 bugfix
glen
glen at pld-linux.org
Sat May 24 00:43:10 CEST 2008
Author: glen Date: Fri May 23 22:43:10 2008 GMT
Module: SPECS Tag: XEN_3_0_4
---- Log message:
- fixes merged from HEAD
- gcc4 bugfix
---- Files affected:
SPECS:
xen.spec (1.34.2.11.2.2 -> 1.34.2.11.2.3)
---- Diffs:
================================================================
Index: SPECS/xen.spec
diff -u SPECS/xen.spec:1.34.2.11.2.2 SPECS/xen.spec:1.34.2.11.2.3
--- SPECS/xen.spec:1.34.2.11.2.2 Fri May 23 23:34:29 2008
+++ SPECS/xen.spec Sat May 24 00:43:05 2008
@@ -5,6 +5,7 @@
#
# Conditional build:
%bcond_without pae # build without PAE (HIGHMEM64G) support (PLD Xen* kernels require PAE)
+%bcond_without hvm # build with hvm (full virtualization) support
%ifnarch %{ix86}
%undefine with_pae
@@ -30,11 +31,12 @@
Patch1: %{name}-bash_scripts.patch
Patch2: %{name}-bridge_setup.patch
Patch3: %{name}-python-devel.patch
+Patch4: %{name}-gcc4.patch
URL: http://www.cl.cam.ac.uk/research/srg/netos/xen/index.html
BuildRequires: SDL-devel
-BuildRequires: XFree86-devel
+#BuildRequires: XFree86-devel
%ifarch %{ix86}
-BuildRequires: bcc
+%{?with_hvm:BuildRequires: bcc}
%endif
BuildRequires: cpp
BuildRequires: curl-devel
@@ -44,7 +46,7 @@
BuildRequires: libvncserver-devel
BuildRequires: ncurses-devel
BuildRequires: progsreiserfs-devel
-BuildRequires: python-Twisted
+BuildRequires: python-TwistedWeb
BuildRequires: python-devel
BuildRequires: rpm-pythonprov
BuildRequires: rpmbuild(macros) >= 1.268
@@ -55,18 +57,27 @@
BuildRequires: which
BuildRequires: zlib-devel
Requires(post,preun): /sbin/chkconfig
-Requires: %{name}-libs = %{epoch}:%{version}-%{release}
+Requires: %{name}-libs = %{version}-%{release}
Requires: ZopeInterface
Requires: bridge-utils
+Requires: coreutils
+Requires: diffutils
+Requires: iptables
Requires: kernel(xen0) = %{version}
Requires: losetup
+Requires: net-tools
Requires: python-%{name} = %{version}-%{release}
Requires: python-TwistedWeb
Requires: rc-scripts
+Requires: sed
+Requires: util-linux
+Requires: which
Obsoletes: xen-doc
ExclusiveArch: %{ix86} %{x8664}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+%define specflags -fgnu89-inline
+
%description
This package contains the Xen hypervisor and Xen tools, needed to run
virtual machines on x86 systems, together with the kernel-xen*
@@ -108,7 +119,7 @@
Summary: Header files for xen
Summary(pl.UTF-8): Pliki nagĹĂłwkowe xena
Group: Development/Libraries
-Requires: %{name}-libs = %{epoch}:%{version}-%{release}
+Requires: %{name}-libs = %{version}-%{release}
%description devel
Header files for xen.
@@ -120,7 +131,7 @@
Summary: Static xen libraries
Summary(pl.UTF-8): Statyczne biblioteki xena
Group: Development/Libraries
-Requires: %{name}-devel = %{epoch}:%{version}-%{release}
+Requires: %{name}-devel = %{version}-%{release}
%description static
Static xen libraries.
@@ -128,6 +139,28 @@
%description static -l pl.UTF-8
Statyczne biblioteki xena.
+%package hotplug
+Summary: xen hotplug scripts
+Summary(pl.UTF-8): Skrypty hotplug dla xena
+Group: Application/System
+
+%description hotplug
+xen hotplug scripts.
+
+%description hotplug -l pl.UTF-8
+Skrypty hotplug dla xena.
+
+%package udev
+Summary: xen udev scripts
+Summary(pl.UTF-8): Skrypty udev dla xena
+Group: Application/System
+
+%description udev
+xen udev scripts.
+
+%description udev -l pl.UTF-8
+Skrypty udev dla xena.
+
%package -n python-xen
Summary: xen Python modules
Summary(pl.UTF-8): ModuĹy Pythona dla xena
@@ -146,6 +179,7 @@
%patch1 -p1
%patch2 -p1
%patch3 -p1
+%patch4 -p1
%build
CFLAGS="%{rpmcflags} -I/usr/include/ncurses" \
@@ -215,8 +249,6 @@
/boot/%{name}.gz
%attr(754,root,root) /etc/rc.d/init.d/*
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/*
-%config(noreplace) %verify(not md5 mtime size) /etc/udev/*
-%attr(755,root,root) /etc/hotplug/*
%dir %{_sysconfdir}/xen
%attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xen/qemu-ifup
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xen/*.*
@@ -230,10 +262,11 @@
%dir %{_libdir}/%{name}
%dir %{_libdir}/%{name}/bin
%attr(744,root,root) %{_libdir}/%{name}/bin/*
-%ifarch %{ix86}
-%dir %{_libdir}/%{name}/boot
-%attr(744,root,root) %{_libdir}/%{name}/boot/hvmloader
+%if "%{_lib}" != "lib"
+%dir %{_prefix}/lib/%{name}
%endif
+%dir %{_prefix}/lib/%{name}/boot
+%{?with_hvm:%attr(744,root,root) %{_prefix}/lib/%{name}/boot/hvmloader}
%{_datadir}/xen
%{_mandir}/man?/*
%{_sharedstatedir}/xen
@@ -272,6 +305,14 @@
%defattr(644,root,root,755)
%{_libdir}/lib*.a
+%files hotplug
+%defattr(644,root,root,755)
+%attr(755,root,root) /etc/hotplug/*
+
+%files udev
+%defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) /etc/udev/*
+
%files -n python-xen
%defattr(644,root,root,755)
@@ -295,6 +336,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.34.2.11.2.3 2008-05-23 22:43:05 glen
+- fixes merged from HEAD
+- gcc4 bugfix
+
Revision 1.34.2.11.2.2 2008-05-23 21:34:29 glen
- fix packaging
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/xen.spec?r1=1.34.2.11.2.2&r2=1.34.2.11.2.3&f=u
More information about the pld-cvs-commit
mailing list