components/python/pybonjour/pybonjour-26.p5m
changeset 706 6e61f0012046
parent 609 775168282b2f
child 1205 6c6c27bcf9ac
child 2551 0391c5c3b137
--- a/components/python/pybonjour/pybonjour-26.p5m	Thu Feb 23 15:58:00 2012 -0800
+++ b/components/python/pybonjour/pybonjour-26.p5m	Fri Feb 24 13:30:24 2012 -0800
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
 #
 
 set name=pkg.fmri value=pkg:/library/python-2/pybonjour-26@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
@@ -34,9 +34,15 @@
 
 license pybonjour.copyright license=BSD
 
-depend fmri=runtime/python-26 type=require
 depend fmri=service/network/dns/mdns type=require
-depend fmri=library/python-2/[email protected] type=optional
+
+# force a dependency on the Python 2.6 runtime
+depend fmri=__TBD pkg.debug.depend.file=python2.6 \
+       pkg.debug.depend.path=usr/bin type=require
+
+# force a dependency on the pybonjour package
+depend fmri=library/python-2/pybonjour@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) \
+    type=require
 
 dir path=usr
 dir path=usr/lib