merge bitcoin#24506: Include arch in codesignature tarball

This commit is contained in:
Kittywhiskers Van Gogh 2023-06-10 13:07:41 +00:00 committed by PastaPastaPasta
parent 7900670bbe
commit 817eb46170
2 changed files with 5 additions and 3 deletions

View File

@ -463,7 +463,7 @@ and endian independent.")
(license license:expat)))
(define-public python-signapple
(let ((commit "9f42f3c8295d4107ee7a22e523ec17449a936f43"))
(let ((commit "0777ce58e61b0e6be753a5f524149d6d47905186"))
(package
(name "python-signapple")
(version (git-version "0.1" "1" commit))
@ -476,7 +476,7 @@ and endian independent.")
(file-name (git-file-name name commit))
(sha256
(base32
"0j1sqi0g8k2z5y56iayh5pw9yyq1r6ry3q5zy0cdy2sispiwvdnp"))))
"19axspyyfqbrfw2r53c17mi9bvm8zsb39mz8v9h7c173qkm3x5ym"))))
(build-system python-build-system)
(propagated-inputs
`(("python-asn1crypto" ,python-asn1crypto)

View File

@ -8,9 +8,11 @@ set -e
ROOTDIR=dist
BUNDLE="${ROOTDIR}/Dash-Qt.app"
BINARY="${BUNDLE}/Contents/MacOS/Dash-Qt"
SIGNAPPLE=signapple
TEMPDIR=sign.temp
OUT=signature-osx.tar.gz
ARCH=$(${SIGNAPPLE} info ${BINARY} | head -n 1 | cut -d " " -f 1)
OUT="signature-osx-${ARCH}.tar.gz"
OUTROOT=osx/dist
if [ -z "$1" ]; then