diff --git a/nydus-rs.spec b/nydus-rs.spec index 17972c3a4a6fbddc8631f91ac1446122d0d04b87..6cd898541060097259867b87052b7f8d4839341c 100644 --- a/nydus-rs.spec +++ b/nydus-rs.spec @@ -1,5 +1,5 @@ %define release_version 2.1.4 -%define anolis_release 1 +%define anolis_release 2 %define pkg_name image-service-%{release_version} %global __os_install_post %{nil} %global debug_package %{nil} @@ -49,6 +49,10 @@ EOF sed -i '/work_dir/c\ \"work_dir\" : \"/var/cache/nydus-rs/\"' ./misc/configs/nydusd-config.json +# Fix https://github.com/dragonflyoss/image-service/pull/1256 +sed -i 's/amd64/$(shell go env GOARCH)/g' ./contrib/ctr-remote/Makefile +sed -i 's/amd64/$(shell go env GOARCH)/g' ./contrib/nydus-overlayfs/Makefile + %build make -C contrib/nydusify make -C contrib/ctr-remote @@ -88,6 +92,8 @@ mkdir -p %{buildroot}/var/cache/nydus-rs/ %postun %changelog +* Fri Apr 28 2023 Qinqi Qu - 2.1.4-2 +- Support nydus-overlayfs and ctr-remote on different platforms * Mon Feb 20 2023 Qinqi Qu - 2.1.4-1 - Update Nydus image service to 2.1.4 * Mon Dec 26 2022 Qinqi Qu - 2.1.1-1