Date: Tuesday, May 9, 2023 @ 08:14:17
  Author: dvzrv
Revision: 1459595

upgpkg: sequoia-sq 0.30.0-2: Rebuild to fix reproducibility.

Using cargo test --release alters the built sq binary, so use a different 
CARGO_TARGET_DIR for the tests.
https://gitlab.com/sequoia-pgp/sequoia-sq/-/issues/96

Modified:
  sequoia-sq/trunk/PKGBUILD

----------+
 PKGBUILD |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-05-09 07:30:49 UTC (rev 1459594)
+++ PKGBUILD    2023-05-09 08:14:17 UTC (rev 1459595)
@@ -4,7 +4,7 @@
 pkgname=sequoia-sq
 pkgver=0.30.0
 _commit=2f3f75e8c2117ae2ff118219dc7a118eb8f52b0b  # refs/tags/v0.30.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Command-line frontends for Sequoia'
 url='https://sequoia-pgp.org/'
 arch=('x86_64')
@@ -51,7 +51,9 @@
 
 check() {
   cd $pkgname
-  export CARGO_TARGET_DIR=../target
+  # NOTE: we use a different target dir, as otherwise cargo test --release 
alters the sq binary
+  # https://gitlab.com/sequoia-pgp/sequoia-sq/-/issues/96
+  export CARGO_TARGET_DIR=../target-test
   export RUSTUP_TOOLCHAIN=stable
   cargo test --release --frozen --features 'default'
 }

Reply via email to