Mercurial > hg-stable
changeset 34903:16d9f0b3e134
build: build deb/rpm independently on config/extensions in the host system
Reverts 5aac617a028d and replaces it with a more general solution.
- works for both rpm and deb
- sidesteps eventual problems with local extensions that have nothing to do with
the build process (hg-git, for example, fails with version 4.4 because
dedab036215d removed peerrepository, and hg-git still uses it as of 0.8.9)
author | muxator <a.mux@inwind.it> |
---|---|
date | Tue, 17 Oct 2017 22:46:08 +0200 |
parents | cc977ec0b8b9 |
children | 4554649a6ea4 |
files | contrib/buildrpm contrib/packagelib.sh |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/contrib/buildrpm Thu Oct 19 17:50:20 2017 +0200 +++ b/contrib/buildrpm Tue Oct 17 22:46:08 2017 +0200 @@ -11,7 +11,6 @@ BUILD=1 RPMBUILDDIR="$PWD/rpmbuild" -export HGPLAIN= while [ "$1" ]; do case "$1" in
--- a/contrib/packagelib.sh Thu Oct 19 17:50:20 2017 +0200 +++ b/contrib/packagelib.sh Tue Oct 17 22:46:08 2017 +0200 @@ -8,6 +8,9 @@ # # node: the node|short hg was built from, or empty if built from a tag gethgversion() { + export HGRCPATH= + export HGPLAIN= + make cleanbutpackages make local PURE=--pure HG="$PWD/hg"