Patch golang verison fro openEuler 24.03

This commit is contained in:
tzing_t 2024-04-02 01:51:05 +00:00
parent be06da1790
commit 4e5df76b86
2 changed files with 24 additions and 3 deletions

View File

@ -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 <zhengting13@huawei.com> - 1.1.6-2
- Patch golang verison fro openEuler 24.03
* Tue Feb 21 2023 Yikun<yikunkero@gmail.com> - 1.1.6-1
- Init package

View File

@ -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=