[PATCH] modify mercurial.spec to install hgk and convert-repo

Peter Williams pwil3058 at bigpond.net.au
Mon Jan 1 00:00:44 CST 2007


Problems:
	1. The hgk.py script is included by default when mercurial is installed 
but does not work unless the Tcl/TK script is also installed.  This 
isn't a problem when installing by hand as the installation of hgk using 
install is not difficult.  However, if mercurial is installed using an 
rpm generated using contrib/mercurial.spec (e.g. doing "yum install 
mercurial" on a Fedora system) it is a problem as the hgk script is not 
available to install separately (without a lot of bother).
	2. The documentation describes the very useful script convert-repo but 
this is also not included in the rpm.

Solution:
	Modify contrib/mercurial.spec to include these scripts in the installation.

The attached patch (against version 0.9.3) accomplishes this.

Peter
PS The "Version" field (line 3) should be updated for each released 
version (needs to match the version in the *tar.gz file) in order for 
rpmbuild to build the package properly.
-- 
Peter Williams                                   pwil3058 at bigpond.net.au

"Learning, n. The kind of ignorance distinguishing the studious."
  -- Ambrose Bierce
-------------- next part --------------
A non-text attachment was scrubbed...
Name: install-hgk-and-repo-convert-in-rpm-spec.patch
Type: text/x-patch
Size: 790 bytes
Desc: not available
Url : http://www.selenic.com/pipermail/mercurial-devel/attachments/20070101/d21a190d/install-hgk-and-repo-convert-in-rpm-spec.bin


More information about the Mercurial-devel mailing list