diff --git a/iSulad.spec b/iSulad.spec index e62ad5478489de9204720fd2e33f86c23a6ea580..18818beb3ca8ab0031bcf097dc26fe5122cdc5f0 100644 --- a/iSulad.spec +++ b/iSulad.spec @@ -1,5 +1,5 @@ %global _version 2.1.5 -%global _release 12 +%global _release 13 %global is_systemd 1 %global enable_criv1 1 %global enable_cdi 1 @@ -7,6 +7,10 @@ %global is_embedded 1 %global cpp_std 17 +%ifarch x86_64 aarch64 +%global enable_nri 0 +%endif + Name: iSulad Version: %{_version} Release: %{_release} @@ -197,7 +201,9 @@ BuildRequires: libevhtp-devel libevent-devel %if 0%{?enable_shimv2} BuildRequires: lib-shim-v2 lib-shim-v2-devel %endif - +%if 0%{?enable_nri} +BuildRequires: isula-rust-extensions-devel +%endif Requires: libisula > %{lcrver_lower} libisula < %{lcrver_upper} Requires: grpc protobuf @@ -210,6 +216,9 @@ BuildRequires: libevhtp libevent %if 0%{?enable_shimv2} Requires: lib-shim-v2 %endif +%if 0%{?enable_nri} +Requires: isula-rust-extensions +%endif %description This is a umbrella project for gRPC-services based Lightweight Container @@ -231,6 +240,9 @@ cd build %if 0%{?enable_cdi} -DENABLE_CDI=ON \ %endif +%if 0%{?enable_nri} + -DENABLE_NRI=ON \ +%endif %endif %if 0%{?enable_shimv2} -DENABLE_SHIM_V2=ON \ @@ -413,6 +425,12 @@ fi %endif %changelog +* Thu Nov 21 2024 zhongtao - 2.1.5-13 +- Type: bugfix +- ID: NA +- SUG: NA +- DESC: enable nri support only on specified architecture + * Mon Oct 21 2024 wujichao - 2.1.5-12 - Type: update - ID: NA