From 31ef680982199a68cc63044bef27786b5464a0cc Mon Sep 17 00:00:00 2001 From: chendexi Date: Fri, 1 Dec 2023 02:34:02 +0000 Subject: [PATCH] Delete the compilation of ppc64 and s390 architecture Signed-off-by: chendexi (cherry picked from commit d4878de706736e34854c27fea55ca7e67df0d253) --- butane.spec | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/butane.spec b/butane.spec index f11ef1d..6f20d30 100644 --- a/butane.spec +++ b/butane.spec @@ -21,7 +21,7 @@ configs for provisioning operating systems that use Ignition.} Name: butane Version: 0.14.0 -Release: 2 +Release: 3 Summary: Butane config transpiler # Upstream license specification: Apache-2.0 @@ -89,8 +89,6 @@ echo "Building butane..." echo "Building Linux Butane with static linking..." CGO_ENABLED=0 GOARCH=arm64 GOOS=linux %gocrossbuild -o butane-aarch64-unknown-linux-gnu-static internal/main.go -CGO_ENABLED=0 GOARCH=ppc64le GOOS=linux %gocrossbuild -o butane-ppc64le-unknown-linux-gnu-static internal/main.go -CGO_ENABLED=0 GOARCH=s390x GOOS=linux %gocrossbuild -o butane-s390x-unknown-linux-gnu-static internal/main.go CGO_ENABLED=0 GOARCH=amd64 GOOS=linux %gocrossbuild -o butane-x86_64-unknown-linux-gnu-static internal/main.go echo "Building macOS Butane..." @@ -105,8 +103,6 @@ install -p -m 0755 ./butane %{buildroot}%{_bindir} ln -s butane %{buildroot}%{_bindir}/fcct install -d -p %{buildroot}%{_datadir}/butane install -p -m 0644 ./butane-aarch64-unknown-linux-gnu-static %{buildroot}%{_datadir}/butane -install -p -m 0644 ./butane-ppc64le-unknown-linux-gnu-static %{buildroot}%{_datadir}/butane -install -p -m 0644 ./butane-s390x-unknown-linux-gnu-static %{buildroot}%{_datadir}/butane install -p -m 0644 ./butane-x86_64-apple-darwin %{buildroot}%{_datadir}/butane install -p -m 0644 ./butane-x86_64-pc-windows-gnu.exe %{buildroot}%{_datadir}/butane install -p -m 0644 ./butane-x86_64-unknown-linux-gnu-static %{buildroot}%{_datadir}/butane @@ -126,13 +122,14 @@ install -p -m 0644 ./butane-x86_64-unknown-linux-gnu-static %{buildroot}%{_datad %license %{golicenses} %dir %{_datadir}/butane %{_datadir}/butane/butane-aarch64-unknown-linux-gnu-static -%{_datadir}/butane/butane-ppc64le-unknown-linux-gnu-static -%{_datadir}/butane/butane-s390x-unknown-linux-gnu-static %{_datadir}/butane/butane-x86_64-apple-darwin %{_datadir}/butane/butane-x86_64-pc-windows-gnu.exe %{_datadir}/butane/butane-x86_64-unknown-linux-gnu-static %changelog +* Fri Dec 01 2023 chendexi - 0.14.0-3 +- Delete the compilation of ppc64 and s390 architecture + * Wed Oct 26 2022 fushanqing - 0.14.0-2 - support nestos variant