Commit Graph

43 Commits

Author SHA1 Message Date
Anton Shestakov
c68e50dfa3 rpms: add hgext3rd to mercurial.spec
Otherwise build process fails with somethings like this:


RPM build errors:
    Installed (but unpackaged) file(s) found:
   /usr/lib64/python2.7/site-packages/hgext3rd/__init__.py
   /usr/lib64/python2.7/site-packages/hgext3rd/__init__.pyc
   /usr/lib64/python2.7/site-packages/hgext3rd/__init__.pyo
make: *** [docker-fedora20] Error 1
2016-03-23 11:53:11 +08:00
timeless
5f0b7179f1 mercurial.spec: remove execute bit 2015-12-22 10:58:47 +00:00
Matt Mackall
5e1b4ad958 urls: bulk-change primary website URLs 2015-09-30 15:43:49 -05:00
Pierre-Yves David
6c9620984d rpm.spec: bump python dependency to 2.6
We are about to drop 2.4 requirement in Mercurial's setup.py, we bump rpm
dependency first for the sake of smaller changeset. Clean up of the spec file
can come after the dependency is actually dropped.
2015-05-08 23:28:33 -07:00
Mads Kiilerich
ea7df88985 rpms: for packages with their own python, put it in /opt/python-hg
This is more compliant with the FHS and Fedora packaging guidelines.
2015-04-14 23:44:03 -04:00
Mads Kiilerich
79172c85c8 config: move mergetools configuration from contrib to default configuration
The merge tool configuration is an essential part of a good initial user
experience. 'make osx' installers and direct 'make' installation did not have
merge tool configuration. Now they have.

Note: The installer fixes for windows have been done blindly and might require
additional changes.
2014-10-19 03:22:23 +02:00
Mads Kiilerich
ef7acfd93a contrib: buildrpm checking of md5 checksums of downloaded Python and Docutils 2014-10-18 21:48:38 +02:00
Mads Kiilerich
262c34851d contrib: update build defaults to latest Python and docutils versions
Use Python 2.7.8 and Docutils 0.12 for Makefile.python and buildrpm (CentOS 5
rpms).
2014-11-02 16:39:02 +01:00
Mads Kiilerich
adcba0a4e6 buildrpm: introduce --withpython for building rpms that includes Python 2.7 2014-05-15 01:50:11 +02:00
Siddharth Agarwal
8432654231 fedora: remove sample.hgrc from shipped files
sample.hgrc was long obsolete and was removed in c4f6b10a363a.
2014-09-02 14:10:08 -07:00
Mads Kiilerich
31abc68338 buildrpm: include release version in .tar.gz name
Official releases are fully indentified by the version number, these builds are
not.

Specs are however traditionally not versioned.
2014-05-20 04:07:58 +02:00
Mads Kiilerich
1e6c7ac0e7 buildrpm: collect code for building local hg and using it in one place 2014-05-15 01:48:37 +02:00
Mads Kiilerich
f12464b8db buildrpm: various minor cleanup 2014-05-20 03:57:21 +02:00
Mads Kiilerich
cd19e3668d mercurial.spec: specify file modes for install 2010-08-26 23:11:03 +02:00
Mads Kiilerich
e26e44a190 mercurial.spec: gettext is a build requirement for getting proper localization 2010-08-14 01:31:57 +02:00
Julian Cowley
270cd1a3b9 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.
2010-07-02 14:14:30 -10:00
Mads Kiilerich
20a31caeb0 mercurial.spec: don't include convert-repo - use "hg convert" instead 2010-06-25 19:59:22 +02:00
Mads Kiilerich
df529b99ae contrib/mercurial.spec: Use DESTDIR variable and 'make install' 2010-04-19 11:31:19 +02:00
Mads Kiilerich
da86b3d27f contrib/mercurial.spec: drop git-viz
Follow-up to a8ccf53d3400
2010-04-19 11:00:36 +02:00
Greg Lindahl
5dd2da8417 mercurial.spec: remove reference to doc/ja 2010-03-13 16:19:28 +01:00
Matt Mackall
595d66f424 Update license to GPLv2+ 2010-01-19 22:20:08 -06:00
Mads Kiilerich
2c377a4b1c mercurial.spec: Alignment with AIX spec by Jim Hague
* Require Python 2.4 or later
* Note that hgk uses tk - but don't require it
* Remove bashism to support ksh
* Install mq.el
* Handle uncompressed man pages
2010-01-06 03:27:15 +01:00
Gilles Moris
33dae3e063 mercurial.spec: update requirements for the build 2009-10-23 23:10:05 +02:00
Mads Kiilerich
230b15e299 Make RPM spec in contrib more aligned with the one from Fedora
This is mostly syntactical changes which make the real differences more obvious
when looking at a diff.

contrib/mergetools.rc is now also installed and enabled by default.
2009-06-24 03:05:01 +02:00
Dirkjan Ochtman
1d29e68744 change wiki/bts URLs to point to new hostname 2009-06-24 15:32:37 +02:00
Stefano Tortarolo
24b7df6192 contrib/buildrpm: set python requirement to 2.4 2009-06-23 14:12:17 +02:00
Mads Kiilerich
4f6d9d0917 contrib/buildrpm: Support python 2.4 and 2.6 2009-06-20 16:06:54 +02:00
Benoit Boissinot
7c64bcb65d merge with mpm 2008-11-27 01:35:12 +01:00
Mads Kiilerich
b229c34697 rpm spec: include python egg in rpm
Better complicance with packaging guidelines
http://fedoraproject.org/wiki/Packaging/Python
http://fedoraproject.org/wiki/Packaging/Python/Eggs
2008-11-27 01:10:27 +01:00
Mads Kiilerich
d156191b6c Fix rpmlint warnings
contrib/mercurial.spec:9: W: hardcoded-path-in-buildroot-tag /tmp/build.%{name}-%{version}-%{release}
A path is hardcoded in your Buildroot tag. It should be replaced by something
like %{_tmppath}/%name-root.

contrib/mercurial.spec:31: W: rpm-buildroot-usage %prep rm -rf $RPM_BUILD_ROOT
$RPM_BUILD_ROOT should not be touched during %build or %prep stage, as it will
break short circuiting.
2008-11-23 18:17:02 +01:00
Mads Kiilerich
171cdd4c59 Make rpm spec less explicit
Fixes:
* current buildrpm failing on Fedora because of unexpected zeroconf extensions
* unowned directories hgext/*/
2008-11-23 18:16:02 +01:00
Mads Kiilerich
995611c9e8 Make contrib/buildrpm work on Fedora 9.
mercurial.spec had bitrotted. These changes makes it possible to build an rpm that is usable.
Only minimal changes has been made, and there is plenty of room for improvement.
2008-10-06 14:41:22 +02:00
Adam Spiers
53cdf9de29 mercurial.spec: convert extension now installs files into hgext/convert/ 2007-06-30 01:21:41 +01:00
Adam Spiers
befe0e3cb2 mercurial.spec: include CONTRIBUTORS, COPYING and man pages in rpm 2007-06-30 01:21:22 +01:00
Adam Spiers
34346718e5 mercurial.spec: include various utility files from contrib/ in rpm
Files included:
hgk
convert-repo
hg-ssh
hg-viz
git-rev-tree
bash_completion
zsh_completion
mercurial.el
2007-06-03 14:40:56 +01:00
julian@lava.net
a4f900945a mercurial.spec: add BuildRequires
Add build dependencies from README as block quote.
2007-01-21 00:59:23 -10:00
Adam Spiers
3aa5e87b5f mercurial.spec: fix when default python prefix != rpm %{_prefix}
e.g. on SUSE Linux Enterprise 10
2007-06-02 12:42:47 +01:00
Matt Mackall
e138593173 Remove hard-coded version numbers and release notes from packaging 2006-12-10 17:41:07 -06:00
Thomas Arendsen Hein
63d0e7a57c New version/release in mercurial.spec, patchbomb is now in hgext. 2006-03-12 15:11:11 +01:00
Xiaofeng Ling
3ce0ba8182 fix contrib/mercurial.spec for hgext 2006-03-12 15:07:40 +01:00
Florian La Roche
2ac2c94cd4 Clean up RPM spec file 2005-09-18 14:05:54 -07:00
mpm@selenic.com
3359129ba8 [PATCH] clean up RPM spec file
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[PATCH] clean up RPM spec file

From: Bryan O'Sullivan <bos@serpentine.com>

The current RPM spec file makes it impossible to split Mercurial into
multiple interdependent packages.  Here's a patch that fixes that
problem.

manifest hash: 4acc4c5cf4485d92a32d2259b83314b7167dece3
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCxb2+ywK+sNU5EO8RAnrTAJ4tkAh6xnHvRHMxzrfqKb/SXYS2wwCeMfK1
PAr+1FFoSqUmA9rt8Yaw6f4=
=MaPn
-----END PGP SIGNATURE-----
2005-07-01 14:03:42 -08:00
mpm@selenic.com
64a7a0dd00 Add an RPM spec file
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Add an RPM spec file

manifest hash: 4b0a028ee71e7bf1faa4fd6fe0d9efce0b04bf3a
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCvP1jywK+sNU5EO8RAiWVAJ9083+cHfhDn4kjnULikci6nQEvMACdFGyg
1Lv0tujumR2E9lvFe2c4eIw=
=kKKS
-----END PGP SIGNATURE-----
2005-06-24 22:44:51 -08:00