Patchwork [2,of,2] buildrpm: bump bundled docutils version to 0.14 when building for centos{5, 6}

login
register
mail settings
Submitter via Mercurial-devel
Date Feb. 12, 2018, 11:16 p.m.
Message ID <ca93ec462371f185bd73.1518477400@cuben>
Download mbox | patch
Permalink /patch/27720/
State Accepted
Headers show

Comments

via Mercurial-devel - Feb. 12, 2018, 11:16 p.m.
# HG changeset patch
# User Antonio Muci <a.mux@inwind.it>
# Date 1518476745 -3600
#      Tue Feb 13 00:05:45 2018 +0100
# Node ID ca93ec462371f185bd737f27fbae73fcca5ad5fa
# Parent  ae4209858d434d88428c03d3b1be3ec662907ec2
buildrpm: bump bundled docutils version to 0.14 when building for centos{5,6}

when building rpm packages for centos 5 and 6, we bundle a mercurial-specific
version of docutils in /opt/python-hg/lib/python2.7/site-packages/docutils

Let's bump the embedded docutils version from 0.12 (released in 2014) to
0.14 (latest as of today)

Patch

diff --git a/contrib/mercurial.spec b/contrib/mercurial.spec
--- a/contrib/mercurial.spec
+++ b/contrib/mercurial.spec
@@ -6,8 +6,8 @@ 
 
 %global pythonver %{withpython}
 %global pythonname Python-%{withpython}
-%global docutilsname docutils-0.12
-%global docutilsmd5 4622263b62c5c771c03502afa3157768
+%global docutilsname docutils-0.14
+%global docutilsmd5 c53768d63db3873b7d452833553469de
 %global pythonhg python-hg
 %global hgpyprefix /opt/%{pythonhg}
 # byte compilation will fail on some some Python /test/ files