Fix building RPM (#3623)

**What type of PR is this?**
> Uncomment only one ` /kind` line, and delete the rest.
> For example, `> /kind bug` would simply become: `/kind bug`

/kind bug

**What does does this PR do / why we need it**:

Our internal release system requires all the following variables /
information in the spec in order to do a s390x release. This if
statement has been removed so we may be correctly build our internal
build.

**Which issue(s) this PR fixes**:

N/A

**PR acceptance criteria**:

N/A

**How to test changes / Special notes to the reviewer**:

N/A

Signed-off-by: Charlie Drage <charlie@charliedrage.com>
This commit is contained in:
Charlie Drage
2020-07-22 14:43:47 -04:00
committed by GitHub
parent 5a242d895f
commit a40fbd34e1

View File

@@ -65,7 +65,6 @@ cp -avrf dist/release/SHA256_SUM %{buildroot}%{_datadir}/%{name}-redistributable
%license LICENSE %license LICENSE
%{_bindir}/odo %{_bindir}/odo
%ifarch x86_64
%package redistributable %package redistributable
Summary: %{product_name} client CLI binaries for Linux, macOS and Windows Summary: %{product_name} client CLI binaries for Linux, macOS and Windows
BuildRequires: gcc BuildRequires: gcc
@@ -92,4 +91,3 @@ Obsoletes: %{package_name}-redistributable
%{_datadir}/%{name}-redistributable/odo-windows-amd64.exe %{_datadir}/%{name}-redistributable/odo-windows-amd64.exe
%{_datadir}/%{name}-redistributable/odo-windows-amd64.exe.tar.gz %{_datadir}/%{name}-redistributable/odo-windows-amd64.exe.tar.gz
%{_datadir}/%{name}-redistributable/SHA256_SUM %{_datadir}/%{name}-redistributable/SHA256_SUM
%endif