mirror of
https://github.com/redhat-developer/odo.git
synced 2025-10-19 03:06:19 +03:00
Building redistributable only on x86_64 and updating golang version to 1.13 (#3464)
* Building redistributable only on x86_64 We dont need redistributable package building on multiple architectures as it is happening right now (case in point internal scratch build) Eg: - openshift-odo-redistributable-1.2.3-1.el8.s390x.rpm - openshift-odo-redistributable-1.2.3-1.el8.ppc64le.rpm - openshift-odo-redistributable-1.2.3-1.el8.x86_64.rpm We only need last one as individual rpms for specific architectures is fine but not the redistributable ones. Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com> * Updating golang version to 1.13 Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>
This commit is contained in:
@@ -65,6 +65,7 @@ cp -avrf dist/release/SHA256_SUM %{buildroot}%{_datadir}/%{name}-redistributable
|
||||
%license LICENSE
|
||||
%{_bindir}/odo
|
||||
|
||||
%ifarch x86_64
|
||||
%package redistributable
|
||||
Summary: %{product_name} client CLI binaries for Linux, macOS and Windows
|
||||
BuildRequires: gcc
|
||||
@@ -91,4 +92,4 @@ Obsoletes: %{package_name}-redistributable
|
||||
%{_datadir}/%{name}-redistributable/odo-windows-amd64.exe
|
||||
%{_datadir}/%{name}-redistributable/odo-windows-amd64.exe.tar.gz
|
||||
%{_datadir}/%{name}-redistributable/SHA256_SUM
|
||||
|
||||
%endif
|
||||
|
||||
Reference in New Issue
Block a user