Delete the compilation of unsupport architecture windows
Signed-off-by: duyiwei <duyiwei@kylinos.cn>
This commit is contained in:
parent
b8a2d09b6c
commit
6df205dd12
10
butane.spec
10
butane.spec
@ -21,7 +21,7 @@ configs for provisioning operating systems that use Ignition.}
|
|||||||
|
|
||||||
Name: butane
|
Name: butane
|
||||||
Version: 0.17.0
|
Version: 0.17.0
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Butane config transpiler
|
Summary: Butane config transpiler
|
||||||
|
|
||||||
# Upstream license specification: Apache-2.0
|
# Upstream license specification: Apache-2.0
|
||||||
@ -66,9 +66,6 @@ CGO_ENABLED=0 GOARCH=amd64 GOOS=linux %gocrossbuild -o butane-x86_64-unknown-lin
|
|||||||
echo "Building macOS Butane..."
|
echo "Building macOS Butane..."
|
||||||
GOARCH=amd64 GOOS=darwin %gocrossbuild -o butane-x86_64-apple-darwin internal/main.go
|
GOARCH=amd64 GOOS=darwin %gocrossbuild -o butane-x86_64-apple-darwin internal/main.go
|
||||||
|
|
||||||
echo "Building Windows Butane..."
|
|
||||||
GOARCH=amd64 GOOS=windows %gocrossbuild -o butane-x86_64-pc-windows-gnu.exe internal/main.go
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -d -p %{buildroot}%{_bindir}
|
install -d -p %{buildroot}%{_bindir}
|
||||||
install -p -m 0755 ./butane %{buildroot}%{_bindir}
|
install -p -m 0755 ./butane %{buildroot}%{_bindir}
|
||||||
@ -76,7 +73,6 @@ ln -s butane %{buildroot}%{_bindir}/fcct
|
|||||||
install -d -p %{buildroot}%{_datadir}/butane
|
install -d -p %{buildroot}%{_datadir}/butane
|
||||||
install -p -m 0644 ./butane-aarch64-unknown-linux-gnu-static %{buildroot}%{_datadir}/butane
|
install -p -m 0644 ./butane-aarch64-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-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
|
install -p -m 0644 ./butane-x86_64-unknown-linux-gnu-static %{buildroot}%{_datadir}/butane
|
||||||
|
|
||||||
%if %{with check}
|
%if %{with check}
|
||||||
@ -95,10 +91,12 @@ install -p -m 0644 ./butane-x86_64-unknown-linux-gnu-static %{buildroot}%{_datad
|
|||||||
%dir %{_datadir}/butane
|
%dir %{_datadir}/butane
|
||||||
%{_datadir}/butane/butane-aarch64-unknown-linux-gnu-static
|
%{_datadir}/butane/butane-aarch64-unknown-linux-gnu-static
|
||||||
%{_datadir}/butane/butane-x86_64-apple-darwin
|
%{_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
|
%{_datadir}/butane/butane-x86_64-unknown-linux-gnu-static
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jun 18 2024 duyiwei <duyiwei@kylinos.cn> - 0.17.0-2
|
||||||
|
- Delete the compilation of unsupport architecture windows
|
||||||
|
|
||||||
* Thu Mar 28 2024 duyiwei <duyiwei@kylinos.cn> - 0.17.0-1
|
* Thu Mar 28 2024 duyiwei <duyiwei@kylinos.cn> - 0.17.0-1
|
||||||
- upgrade version to 0.17.0
|
- upgrade version to 0.17.0
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user