Patch golang verison fro openEuler 24.03
This commit is contained in:
parent
be06da1790
commit
4e5df76b86
@ -42,15 +42,17 @@
|
|||||||
Summary: Application and environment virtualization formerly known as Singularity
|
Summary: Application and environment virtualization formerly known as Singularity
|
||||||
Name: apptainer
|
Name: apptainer
|
||||||
Version: 1.1.6
|
Version: 1.1.6
|
||||||
Release: 1
|
Release: 2
|
||||||
# See LICENSE.md for first party code (BSD-3-Clause and LBNL BSD)
|
# 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_THIRD_PARTY.md for incorporated code (ASL 2.0)
|
||||||
# See LICENSE_DEPENDENCIES.md for dependencies
|
# See LICENSE_DEPENDENCIES.md for dependencies
|
||||||
# License identifiers taken from: https://fedoraproject.org/wiki/Licensing
|
# License identifiers taken from: https://fedoraproject.org/wiki/Licensing
|
||||||
License: BSD and LBNL BSD and ASL 2.0
|
License: BSD and LBNL BSD and ASL 2.0
|
||||||
URL: https://apptainer.org
|
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}" != ""
|
%if "%{?squashfuse_version}" != ""
|
||||||
Source10: https://github.com/vasi/squashfuse/archive/%{squashfuse_version}/squashfuse-%{squashfuse_version}.tar.gz
|
Source10: https://github.com/vasi/squashfuse/archive/%{squashfuse_version}/squashfuse-%{squashfuse_version}.tar.gz
|
||||||
Patch10: 70.patch
|
Patch10: 70.patch
|
||||||
@ -287,6 +289,7 @@ Provides the optional setuid-root portion of Apptainer.
|
|||||||
%patch -P 11 -p1
|
%patch -P 11 -p1
|
||||||
%patch -P 12 -p1
|
%patch -P 12 -p1
|
||||||
%setup -n %{name}-%{package_version}
|
%setup -n %{name}-%{package_version}
|
||||||
|
%patch -P 0 -p1
|
||||||
%else
|
%else
|
||||||
%autosetup -n %{name}-%{package_version}
|
%autosetup -n %{name}-%{package_version}
|
||||||
%endif
|
%endif
|
||||||
@ -432,5 +435,8 @@ fi
|
|||||||
%attr(4755, root, root) %{_libexecdir}/%{name}/bin/starter-suid
|
%attr(4755, root, root) %{_libexecdir}/%{name}/bin/starter-suid
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Feb 21 2023 Yikun<yikunkero@gmail.com> - 1.1.6-1
|
||||||
- Init package
|
- Init package
|
||||||
|
|||||||
15
openEuler-golang-1.21.4.patch
Normal file
15
openEuler-golang-1.21.4.patch
Normal 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=
|
||||||
Loading…
x
Reference in New Issue
Block a user