components/python/pycups/pycups-27.p5m
changeset 1666 69d14d547e77
parent 1251 f1fb66b52f41
--- a/components/python/pycups/pycups-27.p5m	Mon Jan 27 15:13:46 2014 -0800
+++ b/components/python/pycups/pycups-27.p5m	Mon Jan 27 17:48:58 2014 -0800
@@ -18,10 +18,10 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
 #
 
-set name=pkg.fmri value=pkg:/library/python-2/pycups-27@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
+set name=pkg.fmri value=pkg:/library/python/pycups-27@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
 set name=pkg.summary value="Python language bindings for CUPS"
 set name=com.oracle.info.description value="Python 2.7 bindings for CUPS"
 set name=com.oracle.info.tpno value=9025
@@ -36,6 +36,8 @@
 license pycups.copyright license=LGPLv2.1
 
 # force a dependency on the pycups package
-depend fmri=library/python-2/pycups@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) \
+depend fmri=library/python/pycups@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) \
     type=require
 
+# force the rename with an optional dependency on the old name
+depend type=optional fmri=library/python-2/[email protected],5.12-5.12.0.0.0.41.0