--- a/components/python/jsonpointer/jsonpointer-PYVER.p5m Mon Jan 27 15:13:46 2014 -0800
+++ b/components/python/jsonpointer/jsonpointer-PYVER.p5m Mon Jan 27 17:48:58 2014 -0800
@@ -18,11 +18,11 @@
#
# CDDL HEADER END
#
-# Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
#
set name=pkg.fmri \
- value=pkg:/library/python-2/jsonpointer-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
+ value=pkg:/library/python/jsonpointer-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.summary value="Python module for resolving JSON Pointers"
set name=pkg.description \
value="The jsonpointer module resolves a JSON Pointer -- a string identifier for a specific object within a JSON document - - as defined by RFC 6901."
@@ -48,4 +48,8 @@
# force a dependency on the jsonpointer package
depend type=require \
- fmri=library/python-2/jsonpointer@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
+ fmri=library/python/jsonpointer@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
+
+# force the rename with an optional dependency on the old name
+depend type=optional \
+ fmri=library/python-2/jsonpointer-$(PYV)@1.0,5.12-5.12.0.0.0.41.0