SPECS: xen.spec - pass CC also at install stage (used to check gcc...

glen glen at pld-linux.org
Sat Apr 26 18:19:30 CEST 2008


Author: glen                         Date: Sat Apr 26 16:19:30 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pass CC also at install stage (used to check gcc version)

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

---- Diffs:

================================================================
Index: SPECS/xen.spec
diff -u SPECS/xen.spec:1.58 SPECS/xen.spec:1.59
--- SPECS/xen.spec:1.58	Sat Apr 26 17:42:04 2008
+++ SPECS/xen.spec	Sat Apr 26 18:19:24 2008
@@ -161,6 +161,8 @@
 install -d $RPM_BUILD_ROOT/var/run/{xen-hotplug,xend,xenstored}
 
 %{__make} install-xen install-tools install-docs \
+	CC="%{__cc}" \
+	CXX="%{__cxx}" \
 	%{?with_pae:XEN_TARGET_X86_PAE=y} \
 	DESTDIR=$RPM_BUILD_ROOT \
 	XEN_PYTHON_NATIVE_INSTALL=1
@@ -247,7 +249,9 @@
 %{py_sitedir}/%{name}/xm
 %{py_sitedir}/%{name}/xsview
 %{py_sitedir}/%{name}/*.py*
+%if "%{py_ver}" > "2.4"
 %{py_sitedir}/*.egg-info
+%endif
 #%{py_sitescriptdir}/*
 %{_mandir}/man?/*
 %{_sharedstatedir}/xen
@@ -267,7 +271,7 @@
 %dir %{_libdir}/fs/ufs
 %attr(755,root,root) %{_libdir}/fs/*/*.so
 
-%if ! %{with hvm}
+%if %{without hvm}
 %files hotplug
 %defattr(644,root,root,755)
 %attr(755,root,root) /etc/hotplug/*
@@ -292,6 +296,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.59  2008-04-26 16:19:24  glen
+- pass CC also at install stage (used to check gcc version)
+
 Revision 1.58  2008-04-26 15:42:04  glen
 - update to 3.2.1, requires gcc >= 3.4
 
================================================================

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



More information about the pld-cvs-commit mailing list