mirror of
https://github.com/zrepl/zrepl.git
synced 2024-11-21 16:03:32 +01:00
build: rpm: don't strip binaries
fixes build failure for aarch64 ``` make rpm-docker GOARCH=arm64 GOOS=linux + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip /usr/bin/strip: Unable to recognise the format of the input file `/build/src/artifacts/rpmbuild/BUILDROOT/zrepl-v0.3.0.38.g53028ed5-1.aarch64/usr/bin/zrepl' error: Bad exit status from /var/tmp/rpm-tmp.g8Fdbs (%install) Bad exit status from /var/tmp/rpm-tmp.g8Fdbs (%install) ```
This commit is contained in:
parent
53028ed50a
commit
8f44cdc284
@ -12,6 +12,8 @@ zrepl is a one-stop, integrated solution for ZFS replication.}
|
||||
%define _source_payload w9.gzdio
|
||||
%define _binary_payload w9.gzdio
|
||||
|
||||
# don't strip pre-built binaries
|
||||
%define __strip /usr/bin/true
|
||||
|
||||
Name: zrepl
|
||||
Release: 1
|
||||
|
Loading…
Reference in New Issue
Block a user