--- a/components/python/pycups/pycups-27.p5m Wed Jan 28 11:07:54 2015 -0800
+++ b/components/python/pycups/pycups-27.p5m Wed Jan 28 08:53:43 2015 -0800
@@ -18,10 +18,11 @@
#
# CDDL HEADER END
#
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, 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=$(TPNO)
@@ -30,17 +31,21 @@
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
set name=org.opensolaris.arc-caseid value=PSARC/2008/273
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
-dir path=usr
-dir path=usr/lib
-dir path=usr/lib/python2.7
-dir path=usr/lib/python2.7/vendor-packages
-dir path=usr/lib/python2.7/vendor-packages/64
+dir path=usr
+dir path=usr/lib
+dir path=usr/lib/python2.7
+dir path=usr/lib/python2.7/vendor-packages
+dir path=usr/lib/python2.7/vendor-packages/64
file path=usr/lib/python2.7/vendor-packages/64/cups.so
file path=usr/lib/python2.7/vendor-packages/cups-1.0-py2.7.egg-info
file path=usr/lib/python2.7/vendor-packages/cups.so
license pycups.copyright license=LGPLv2.1
+
+# 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.16.0
+
# force a dependency on the pycups package
-depend fmri=library/python-2/pycups@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) \
- type=require
-
+depend type=require \
+ fmri=library/python/pycups@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)