diff --git a/open-vm-tools.changes b/open-vm-tools.changes index 48af836..18efcdf 100644 --- a/open-vm-tools.changes +++ b/open-vm-tools.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Mar 27 15:36:58 UTC 2024 - Kirk Allan + +- Remove protobuf < 22 dependency from spec file (bsc#1217478) + Required linking with additional absl libraries for sle_version > 150400. + +- Use (boo#1222089) for updating open-vm-tools to version 12.4.0. + ------------------------------------------------------------------- Sat Mar 23 09:44:51 UTC 2024 - Johannes Kastl diff --git a/open-vm-tools.spec b/open-vm-tools.spec index 4fd98bb..ef58582 100644 --- a/open-vm-tools.spec +++ b/open-vm-tools.spec @@ -73,7 +73,7 @@ BuildRequires: update-desktop-files BuildRequires: containerd-devel BuildRequires: grpc-devel BuildRequires: libcurl-devel -BuildRequires: protobuf-devel < 22 +BuildRequires: protobuf-devel %define arg_containerinfo --enable-containerinfo=yes %else %define arg_containerinfo --enable-containerinfo=no @@ -281,8 +281,8 @@ autoreconf -fi # (this is because of 'g_static_mutex_init' usage which is now deprecated) export CFLAGS="%{optflags} -Wno-unused-local-typedefs -Wno-unused-but-set-variable -Wno-deprecated-declarations -Wno-sizeof-pointer-memaccess -Wno-cpp -fPIE" export CXXFLAGS="%{optflags} -Wno-unused-local-typedefs -Wno-unused-but-set-variable -Wno-deprecated-declarations -Wno-sizeof-pointer-memaccess -Wno-cpp -fPIE" -%if 0%{?suse_version} > 1500 -export LDFLAGS="-pie -ltirpc -labsl_synchronization -lgpr" +%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150400 +export LDFLAGS="-pie -ltirpc -lgrpc -labsl_synchronization -labsl_log_internal_check_op -labsl_log_internal_nullguard -labsl_log_internal_message" %else %if 0%{?sle_version} >= 150300 export LDFLAGS="-pie -ltirpc"