components/libxml2/libxml2-26.p5m
branchs11-update
changeset 3539 8ae3dcced1de
parent 3162 d5ec681afe01
child 3734 24181f5eb463
--- a/components/libxml2/libxml2-26.p5m	Wed Dec 10 20:16:00 2014 -0800
+++ b/components/libxml2/libxml2-26.p5m	Wed Dec 10 01:55:32 2014 -0800
@@ -22,10 +22,10 @@
 #
 
 set name=pkg.fmri \
-    value=pkg:/library/python-2/libxml2-26@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
+    value=pkg:/library/python/libxml2-26@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
 set name=pkg.summary value="The XML library - Python 2.6 bindings"
 set name=com.oracle.info.description value="Python 2.6 bindings for the XML library"
-set name=com.oracle.info.tpno value=17981
+set name=com.oracle.info.tpno value=$(TPNO)
 set name=info.classification \
     value=org.opensolaris.category.2008:Development/Python
 set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
@@ -38,3 +38,6 @@
 file path=usr/lib/python2.6/vendor-packages/libxml2.py
 file path=usr/lib/python2.6/vendor-packages/libxml2mod.so
 license libxml2.license license="libxml license"
+
+# force the rename with an optional dependency on the old name
+depend type=optional fmri=library/python-2/[email protected],5.11-0.175.3.0.0.13.0