SPECS: xen.spec - update to 3.2.1, requires gcc >= 3.4

glen glen at pld-linux.org
Sat Apr 26 17:42:10 CEST 2008


Author: glen                         Date: Sat Apr 26 15:42:10 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- update to 3.2.1, requires gcc >= 3.4

---- Files affected:
SPECS:
   xen.spec (1.57 -> 1.58) 

---- Diffs:

================================================================
Index: SPECS/xen.spec
diff -u SPECS/xen.spec:1.57 SPECS/xen.spec:1.58
--- SPECS/xen.spec:1.57	Fri Feb 29 13:28:47 2008
+++ SPECS/xen.spec	Sat Apr 26 17:42:04 2008
@@ -13,23 +13,25 @@
 %bcond_with	pae		# build with PAE (HIGHMEM64G) support
 %bcond_with	hvm		# build with hvm (full virtualization) support
 #
+%define		major	3.2
+%define		minor	1
 Summary:	Xen - a virtual machine monitor
 Summary(pl.UTF-8):	Xen - monitor maszyny wirtualnej
 Name:		xen
-%define	_major	3.2
-Version:	%{_major}.0
+Version:	%{major}.%{minor}
 Release:	0.1
 License:	GPL
 Group:		Applications/System
 Source0:	http://bits.xensource.com/oss-xen/release/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5:	4aa57328d0802a063fa67dfc063da30e
 Source1:	%{name}-xend.init
 Source2:	%{name}-xendomains.init
 Patch0:		%{name}-python_scripts.patch
 Patch1:		%{name}-gcc.patch
 URL:		http://www.cl.cam.ac.uk/Research/SRG/netos/xen/index.html
+%{?with_hvm:BuildRequires:	bcc}
 BuildRequires:	curl-devel
 BuildRequires:	e2fsprogs-devel
+BuildRequires:	gcc >= 5:3.4
 BuildRequires:	latex2html
 BuildRequires:	libidn-devel
 BuildRequires:	ncurses-devel
@@ -42,7 +44,6 @@
 BuildRequires:	transfig
 BuildRequires:	which
 BuildRequires:	zlib-devel
-%{?with_hvm:BuildRequires:	bcc}
 Requires(post,preun):	/sbin/chkconfig
 Requires:	ZopeInterface
 Requires:	bridge-utils
@@ -50,7 +51,7 @@
 Requires:	diffutils
 Requires:	gawk
 Requires:	iptables
-Requires:	kernel(xen0) = %{_major}
+Requires:	kernel(xen0) = %{major}
 Requires:	losetup
 Requires:	net-tools
 Requires:	rc-scripts
@@ -145,9 +146,7 @@
 %patch0 -p1
 %patch1 -p1
 
-find . -iregex .*.orig -exec rm {} \;
-
-chmod -R u+w .
+find '(' -name '*~' -o -name '*.orig' -o -name '.gitignore' ')' -print0 | xargs -0 -r -l512 rm -fv
 
 %build
 CFLAGS="%{rpmcflags} -I/usr/include/ncurses" \
@@ -293,6 +292,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.58  2008-04-26 15:42:04  glen
+- update to 3.2.1, requires gcc >= 3.4
+
 Revision 1.57  2008-02-29 12:28:47  arekm
 - more br
 
@@ -480,13 +482,3 @@
 
 Revision 1.1  2004/12/22 14:37:25  arekm
 - raw
-
-* Sun Dec  5 2004 Rik van Riel
-- grab new Xen tarball (with wednesday's patch already included)
-
-* Wed Dec  1 2004 Rik van Riel <riel at redhat.com>
-- fix up Che's spec file a little bit
-- create patch to build just Xen, not the kernels
-
-* Wed Dec 01 2004 Che
-- initial rpm release
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/xen.spec?r1=1.57&r2=1.58&f=u



More information about the pld-cvs-commit mailing list