components/logilab-common/logilab-common.p5m
changeset 1666 69d14d547e77
parent 1251 f1fb66b52f41
child 1948 2d1537e7942d
--- a/components/logilab-common/logilab-common.p5m	Mon Jan 27 15:13:46 2014 -0800
+++ b/components/logilab-common/logilab-common.p5m	Mon Jan 27 17:48:58 2014 -0800
@@ -18,12 +18,12 @@
 #
 # 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.
 #
 
 <transform file path=usr.*/man/.+ -> default mangler.man.stability uncommitted>
 set name=pkg.fmri \
-    value=pkg:/library/python-2/logilab-common@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
+    value=pkg:/library/python/logilab-common@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
 set name=pkg.description \
     value="Modules providing low level functionality shared among various python projects."
 set name=pkg.summary value="common python libraries for logilab applications"
@@ -39,10 +39,14 @@
 file logilab-common.3 path=usr/share/man/man3/logilab-common.3
 license logilab-common.license license=LGPLv2.1,GPLv2
 
-depend fmri=library/python-2/logilab-common-26@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) \
+depend fmri=library/python/logilab-common-26@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) \
     predicate=runtime/python-26 \
     type=conditional
 
-depend fmri=library/python-2/logilab-common-27@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) \
+depend fmri=library/python/logilab-common-27@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) \
     predicate=runtime/python-27 \
     type=conditional
+
+# 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