[PATCH] mercurial.spec: rename docutils to python-docutils inBuildRequires

Julian Cowley julian at lava.net
Fri Jul 2 19:21:48 CDT 2010


# HG changeset patch
# User Julian Cowley <julian at lava.net>
# Date 1278116070 36000
# Branch stable
# Node ID 04399067a03537c3fc4820b38a42838d097936f7
# Parent  aef618707b58afb4b8334b93e544e375d9304e6d
mercurial.spec: rename docutils to python-docutils in BuildRequires

Even though the name of the project is Docutils, most packagers use
the package name python-docutils to fit into the naming scheme of
other packages written in Python.  The name is used by Fedora, EPEL,
DAG, Mandriva, and a few other distributions.

diff --git a/contrib/mercurial.spec b/contrib/mercurial.spec
--- a/contrib/mercurial.spec
+++ b/contrib/mercurial.spec
@@ -17,7 +17,7 @@
 # python-devel provides an adequate python-dev.  The merge tool is a
 # run-time dependency.
 #
-BuildRequires: python >= 2.4, python-devel, make, gcc, docutils >= 0.5
+BuildRequires: python >= 2.4, python-devel, make, gcc, python-docutils >= 0.5
 Provides: hg = %{version}-%{release}
 Requires: python >= 2.4
 # The hgk extension uses the wish tcl interpreter, but we don't enforce it


More information about the Mercurial-devel mailing list