isolate sw patch by code to avoid rolling back patch
Signed-off-by: vegbir <yangjiaqi16@huawei.com>
This commit is contained in:
parent
960ea11693
commit
b6171d2f03
@ -1,7 +1,7 @@
|
|||||||
#Basic Information
|
#Basic Information
|
||||||
Name: syscontainer-tools
|
Name: syscontainer-tools
|
||||||
Version: 0.9
|
Version: 0.9
|
||||||
Release: 53
|
Release: 54
|
||||||
Summary: syscontainer tools for IT, work with iSulad
|
Summary: syscontainer tools for IT, work with iSulad
|
||||||
License: Mulan PSL v2
|
License: Mulan PSL v2
|
||||||
URL: https://gitee.com/openeuler/syscontainer-tools
|
URL: https://gitee.com/openeuler/syscontainer-tools
|
||||||
@ -13,7 +13,7 @@ Patch2: 0002-syscontainer-tools-build-security-option.patch
|
|||||||
Patch3: 0003-enable-external-linkmode-for-cgo-build.patch
|
Patch3: 0003-enable-external-linkmode-for-cgo-build.patch
|
||||||
Patch4: 0004-add-dt-test.patch
|
Patch4: 0004-add-dt-test.patch
|
||||||
Patch5: 0005-add-riscv64-to-syscall-build.patch
|
Patch5: 0005-add-riscv64-to-syscall-build.patch
|
||||||
Patch6: 0005-syscontainer-tools-Add-sw64-architecture.patch
|
Patch6: 0006-syscontainer-tools-Add-sw64-architecture.patch
|
||||||
|
|
||||||
#Dependency
|
#Dependency
|
||||||
BuildRequires: glibc-static
|
BuildRequires: glibc-static
|
||||||
@ -27,9 +27,6 @@ This is syscontainer tools, to make it work, you need a isulad and util-linux
|
|||||||
#Build sections
|
#Build sections
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{name}-v%{version} -p1
|
%autosetup -n %{name}-v%{version} -p1
|
||||||
%ifnarch sw_64
|
|
||||||
%patch6 -R -p1
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make init && make
|
make init && make
|
||||||
@ -118,6 +115,9 @@ chmod 0640 ${HOOK_SPEC}/hookspec.json
|
|||||||
rm -rfv %{buildroot}
|
rm -rfv %{buildroot}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Aug 09 2023 yangjiaqi<yangjiaqi16@huawei.com> - 0.9-54
|
||||||
|
- isolate sw patch by code to avoid rolling back patch
|
||||||
|
|
||||||
* Fri Jun 30 2023 wujie <wujie@nj.iscas.ac.cn> - 0.9-53
|
* Fri Jun 30 2023 wujie <wujie@nj.iscas.ac.cn> - 0.9-53
|
||||||
- add riscv64 to syscall_linux_64.go build
|
- add riscv64 to syscall_linux_64.go build
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user