Don't use the "version suffix" stuff in releaseTools.sourceTarball
It's confusing.
This commit is contained in:
parent
c9e3ba482a
commit
c330f99196
|
@ -1,4 +1,4 @@
|
|||
AC_INIT([patchelf], m4_esyscmd([echo -n $(cat ./version)$VERSION_SUFFIX]))
|
||||
AC_INIT([patchelf], m4_esyscmd([echo -n $(cat ./version)]))
|
||||
AC_CONFIG_SRCDIR([src/patchelf.cc])
|
||||
AC_CONFIG_AUX_DIR([build-aux])
|
||||
AM_INIT_AUTOMAKE([-Wall -Werror dist-bzip2 foreign color-tests parallel-tests])
|
||||
|
|
|
@ -11,12 +11,12 @@ let
|
|||
|
||||
|
||||
tarball =
|
||||
pkgs.releaseTools.sourceTarball {
|
||||
pkgs.releaseTools.sourceTarball rec {
|
||||
name = "patchelf-tarball";
|
||||
version = builtins.readFile ./version;
|
||||
versionSuffix = if officialRelease then "" else "pre${toString patchelfSrc.revCount}_${patchelfSrc.shortRev}";
|
||||
version = builtins.readFile ./version + (if officialRelease then "" else "pre${toString patchelfSrc.revCount}_${patchelfSrc.shortRev}");
|
||||
versionSuffix = ""; # obsolete
|
||||
src = patchelfSrc;
|
||||
inherit officialRelease;
|
||||
preAutoconf = "echo ${version} > version";
|
||||
postDist = ''
|
||||
cp README $out/
|
||||
echo "doc readme $out/README" >> $out/nix-support/hydra-build-products
|
||||
|
|
Loading…
Reference in New Issue