From c3a93afe67edd69334f952a7c795add87ecc75e6 Mon Sep 17 00:00:00 2001 From: Dave Dykstra <2129743+DrDaveD@users.noreply.github.com> Date: Sep 03 2019 22:35:54 +0000 Subject: add patch for building on non-64bit architectures --- diff --git a/singularity.spec b/singularity.spec index 0e0fee3..133dfc2 100644 --- a/singularity.spec +++ b/singularity.spec @@ -36,7 +36,8 @@ License: BSD-3-Clause-LBNL URL: https://www.sylabs.io/singularity/ Source: %{name}-%{version}.tar.gz # https://github.com/sylabs/singularity/pull/4346.patch -Patch0: 4346.patch +Patch0: 4370.patch +Patch1: 4346.patch ExclusiveOS: linux # RPM_BUILD_ROOT wasn't being set ... for some reason %if "%{sles_version}" == "11" @@ -99,6 +100,7 @@ export PATH=$GOPATH/bin:$PATH cd $GOPATH/%{singgopath} patch -p1 <%{PATCH0} +patch -p1 <%{PATCH1} # Not all of these parameters currently have an effect, but they might be # used someday. They are the same parameters as in the configure macro. @@ -167,6 +169,7 @@ chmod 644 $RPM_BUILD_ROOT%{_sysconfdir}/singularity/actions/* %changelog * Tue Sep 03 2019 Dave Dykstra - 3.4.0-1.1 - Update to upstream 3.4.0-1 +- Fix compiles on non-64 bit architectures (PR #4370) - Add config fakeroot CLI which was inadvertently left out of the upstream release (PR #4346)