A new .spec file for Mercurial on Fedora

Neal Becker ndbecker2 at gmail.com
Thu Mar 27 07:10:07 CDT 2008

Mads Kiilerich wrote:

> Eric Hopper wrote, On 03/26/2008 08:51 AM:
>> The attached file is the spec file I've used for my personal build of
>> Mercurial for Fedora.  It contains numerous enhancements over both the
>> included spec file and the spec file for Fedora.
> Neal is doing a great job maintaining the official Fedora rpm.
> WIP/beta/development packages can be found on
> http://koji.fedoraproject.org/koji/packageinfo?packageID=2518
> For some reason the Fedora spec and the one in contrib/mercurial.spec
> are completely different. Is there any reason for that?
> And Eric, why do you have a great but different personal build of
> Mercurial for Fedora?
> In both cases I would assume that all could benefit from using (almost)
> the same spec. There might be different objectives or other good (?)
> reasons, but then it would be nice to know the reason so that users can
> choose the package that is best for them.
> Finally it would be nice if the rpm package also was/appeared similar to
> the batteries-included TortoiseHG installer (obviously with "batteries"
> replaced with "dependencies").
> /Mads

I have updated Fedora spec and tried to incorporate some of Eric's ideas. 
One thing I did not do, however, is install things
into /usr/share/mercurial.  I left examples in /usr/share/doc/mercurial.

We already have /etc/mercurial, I'm inclined to think we don't really
need /usr/share/mercurial also - since there is nothing in there that
mercurial, itself, would directly use.

Any thoughts on this?

Spec here:

More information about the Mercurial mailing list