]> git.pld-linux.org Git - packages/xen.git/commitdiff
- pass CC also at install stage (used to check gcc version)
authorElan Ruusamäe <glen@pld-linux.org>
Sat, 26 Apr 2008 16:19:24 +0000 (16:19 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    xen.spec -> 1.59

xen.spec

index ec05666f776e0b566c7075ae0fe67d74f9300411..5d0a7c16e3e2ec0c7031c223de1177c10250b547 100644 (file)
--- a/xen.spec
+++ b/xen.spec
@@ -160,6 +160,8 @@ rm -rf $RPM_BUILD_ROOT
 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
@@ -246,7 +248,9 @@ fi
 %{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
@@ -266,7 +270,7 @@ fi
 %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/*
This page took 0.08513 seconds and 4 git commands to generate.