SUNWvirt-manager.spec
changeset 12106 d4dd73f990ee
parent 12065 ec40d145a28b
child 13630 a9061060f5dd
--- a/SUNWvirt-manager.spec	Mon Apr 14 04:25:38 2008 +0000
+++ b/SUNWvirt-manager.spec	Mon Apr 14 08:37:07 2008 +0000
@@ -21,6 +21,9 @@
 BuildRoot:               %{_tmppath}/%{name}-%{version}-build
 Source:            	 %{name}-manpages-0.1.tar.gz
 
+%ifnarch sparc
+# these packages are only avavilable on i386/x64
+# ===========================================
 
 %include default-depend.inc
 Requires: SUNWgnome-python-libs
@@ -29,10 +32,6 @@
 Requires: SUNWurlgrabber
 BuildRequires: SUNWgnome-python-libs-devel
 
-%ifnarch sparc
-# these packages are only avavilable on i386/x64
-# ===========================================
-
 %package root
 Summary:                 %{summary} - / filesystem
 SUNW_BaseDir:            /
@@ -151,9 +150,12 @@
 
 
 %changelog
-* Thu. April 9 2008 - [email protected]
+* Mon Apr 14 2008 - [email protected]
+- Move '%ifnarch sparc' test above BuildRequires lines as pkgs in those lines
+  are not on sparc and so build fails incorrectly.
+* Thu Apr 9 2008 - [email protected]
 - reopen the Xen dependencies since they were integrated into NV
-* Fri Mar. 28 2008 - [email protected]
+* Fri Mar 28 2008 - [email protected]
 - Add copyright package
 * Wed Mar  19 2008 - [email protected]
 - Add ifnarch so it only build at i386/x64 platform