CBEautoconf.spec
changeset 13 1669a54e47a8
parent 10 a65a967018ee
child 48 7279c3f9140d
--- a/CBEautoconf.spec	Sat Jun 14 10:03:38 2008 +0000
+++ b/CBEautoconf.spec	Mon Jun 16 05:36:13 2008 +0000
@@ -24,7 +24,11 @@
 SUNW_Rev:		%{?cbe_version}%{?!cbe_version:0.0}
 %include default-depend.inc
 Requires: SUNWperl584core
-Requires: CBEm4
+%if %(pkginfo -q SUNWgm4 && echo 1 || echo 0)
+BuildRequires: SUNWgm4
+%else
+BuildRequires: CBEm4
+%endif
 BuildRequires: %make_dep
 
 %description