isolate sw patch by code to avoid rolling back patch

Signed-off-by: vegbir <yangjiaqi16@huawei.com>
This commit is contained in:
vegbir 2023-08-09 07:39:39 +00:00
parent 960ea11693
commit b6171d2f03
2 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
#Basic Information
Name: syscontainer-tools
Version: 0.9
Release: 53
Release: 54
Summary: syscontainer tools for IT, work with iSulad
License: Mulan PSL v2
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
Patch4: 0004-add-dt-test.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
BuildRequires: glibc-static
@ -27,9 +27,6 @@ This is syscontainer tools, to make it work, you need a isulad and util-linux
#Build sections
%prep
%autosetup -n %{name}-v%{version} -p1
%ifnarch sw_64
%patch6 -R -p1
%endif
%build
make init && make
@ -118,6 +115,9 @@ chmod 0640 ${HOOK_SPEC}/hookspec.json
rm -rfv %{buildroot}
%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
- add riscv64 to syscall_linux_64.go build