24289304 nosetests manpages delivered in /usr/share/man, not /usr/share/man/man1 (fix packaging)
authorRich Burridge <rich.burridge@oracle.com>
Thu, 21 Jul 2016 13:50:05 -0700
changeset 6448 9c7d6df84360
parent 6447 56a2f066191a
child 6449 33c7e6c982cd
24289304 nosetests manpages delivered in /usr/share/man, not /usr/share/man/man1 (fix packaging)
components/python/nose/nose-GENFRAG.p5m
components/python/nose/nose-PYVER.p5m
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/python/nose/nose-GENFRAG.p5m	Thu Jul 21 13:50:05 2016 -0700
@@ -0,0 +1,29 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+#
+
+<transform file path=usr.*/man/.+ -> default mangler.man.stability uncommitted>
+file nosetests.1 path=usr/share/man/man1/nosetests.1
+license nose.license license=LGPLv2.1
+
+# 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
--- a/components/python/nose/nose-PYVER.p5m	Thu Jul 21 12:52:32 2016 -0700
+++ b/components/python/nose/nose-PYVER.p5m	Thu Jul 21 13:50:05 2016 -0700
@@ -96,9 +96,6 @@
 file path=usr/lib/python$(PYVER)/vendor-packages/nose/twistedtools.py
 file path=usr/lib/python$(PYVER)/vendor-packages/nose/usage.txt
 file path=usr/lib/python$(PYVER)/vendor-packages/nose/util.py
-file nosetests.1 path=usr/share/man/man1/nosetests-$(PYVER).1
-link path=usr/share/man/man1/nosetests.1 target=nosetests-$(PYVER).1 \
-    mediator=python mediator-version=$(PYVER)
 #
 license nose.license license=LGPLv2.1