diff --git a/apptainer.spec b/apptainer.spec index b11180c0ae18fddc86172a7474093c5b4fc3155b..84e6fbbafd8c9c42c667a63d67050b0a438a3435 100644 --- a/apptainer.spec +++ b/apptainer.spec @@ -42,15 +42,17 @@ Summary: Application and environment virtualization formerly known as Singularity Name: apptainer Version: 1.1.6 -Release: 1 +Release: 2 # See LICENSE.md for first party code (BSD-3-Clause and LBNL BSD) # See LICENSE_THIRD_PARTY.md for incorporated code (ASL 2.0) # See LICENSE_DEPENDENCIES.md for dependencies # License identifiers taken from: https://fedoraproject.org/wiki/Licensing License: BSD and LBNL BSD and ASL 2.0 URL: https://apptainer.org -Source: https://github.com/%{name}/%{name}/releases/download/v%{package_version}/%{name}-%{package_version}.tar.gz - +Source0: https://github.com/%{name}/%{name}/releases/download/v%{package_version}/%{name}-%{package_version}.tar.gz + +Patch0: openEuler-golang-1.21.4.patch + %if "%{?squashfuse_version}" != "" Source10: https://github.com/vasi/squashfuse/archive/%{squashfuse_version}/squashfuse-%{squashfuse_version}.tar.gz Patch10: 70.patch @@ -287,6 +289,7 @@ Provides the optional setuid-root portion of Apptainer. %patch -P 11 -p1 %patch -P 12 -p1 %setup -n %{name}-%{package_version} +%patch -P 0 -p1 %else %autosetup -n %{name}-%{package_version} %endif @@ -432,5 +435,8 @@ fi %attr(4755, root, root) %{_libexecdir}/%{name}/bin/starter-suid %changelog +* Tue Apr 02 2024 zhengting - 1.1.6-2 +- Patch golang verison fro openEuler 24.03 + * Tue Feb 21 2023 Yikun - 1.1.6-1 - Init package diff --git a/openEuler-golang-1.21.4.patch b/openEuler-golang-1.21.4.patch new file mode 100644 index 0000000000000000000000000000000000000000..cd7dc40e38dd79145c2f378a58253f829437a1a2 --- /dev/null +++ b/openEuler-golang-1.21.4.patch @@ -0,0 +1,15 @@ +diff --git a/mconfig b/mconfig +index a29d88e..4b7b386 100755 +--- a/mconfig ++++ b/mconfig +@@ -24,8 +24,8 @@ hstld= + hstranlib= + hstobjcopy= + hstgo= +-hstgo_version="1.17.5" +-hstgo_preferred_version="1.17.5" ++hstgo_version="1.21.4" ++hstgo_preferred_version="1.21.4" + hstgo_opts="go" + + tgtcc=