The package rpms/open-vm-tools.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s): https://src.fedoraproject.org/cgit/rpms/open-vm-tools.git/commit/?id=7b10f9c....
Change: -ExclusiveArch: x86_64 aarch64
Thanks.
Full change: ============
commit 7b10f9ced17e8c53be8d4efec03f9b593fb7b125 Author: Simone Caronni negativo17@gmail.com Date: Fri May 16 13:46:41 2025 +0200
Clean up SPEC file and also drop EL stuff. EL8/9/10 have their own life, eln tracks the next EL.
diff --git a/open-vm-tools.spec b/open-vm-tools.spec index 087f8c5..f111a3e 100644 --- a/open-vm-tools.spec +++ b/open-vm-tools.spec @@ -26,10 +26,6 @@ %global toolsdaemon vmtoolsd %global vgauthdaemon vgauthd
-%if 0%{?rhel} == 7 -%global _modulesloaddir %{_prefix}/lib/modules-load.d -%endif - Name: open-vm-tools Version: %{toolsversion} Release: 4%{?dist} @@ -44,14 +40,7 @@ Source3: run-vmblock\x2dfuse.mount Source4: open-vm-tools.conf Source5: vmtoolsd.pam
-%if 0%{?rhel} >= 7 -ExclusiveArch: x86_64 aarch64 -%else ExclusiveArch: %{ix86} x86_64 aarch64 -%endif - -# Patches -#Patch0: <patch-name0>.patch # Fix build when compiling with -std=c23 (GCC 15) Patch1: https://github.com/vmware/open-vm-tools/pull/751.patch
@@ -61,18 +50,7 @@ BuildRequires: libtool BuildRequires: make BuildRequires: gcc-c++ BuildRequires: doxygen -# Fuse is optional and enables vmblock-fuse -# Switching Fedora to use fuse3. Red Hat to switch on their own schedule. -%if 0%{?fedora} || 0%{?rhel} > 8 -BuildRequires: fuse3-devel -%else -BuildRequires: fuse-devel -%endif -BuildRequires: glib2-devel >= 2.14.0 -BuildRequires: libicu-devel -BuildRequires: libmspack-devel -# Unfortunately, xmlsec1-openssl does not add libtool-ltdl dependency, so we -# need to add it ourselves. +BuildRequires: fuse3-devel >= 3.10.0 BuildRequires: libtool-ltdl-devel BuildRequires: libX11-devel BuildRequires: libXext-devel @@ -81,36 +59,32 @@ BuildRequires: libXinerama-devel BuildRequires: libXrandr-devel BuildRequires: libXrender-devel BuildRequires: libXtst-devel -BuildRequires: openssl-devel BuildRequires: pam-devel +BuildRequires: pkgconfig(glib-2.0) >= 2.34.0 +BuildRequires: pkgconfig(gmodule-2.0) >= 2.34.0 +BuildRequires: pkgconfig(gobject-2.0) >= 2.34.0 +BuildRequires: pkgconfig(gthread-2.0) >= 2.34.0 +BuildRequires: pkgconfig(gtk+-3.0) >= 3.0.0 +BuildRequires: pkgconfig(gtkmm-3.0) >= 3.0.0 +BuildRequires: pkgconfig(icu-i18n) BuildRequires: pkgconfig(libdrm) +BuildRequires: pkgconfig(libmspack) >= 0.0.20040308alpha BuildRequires: pkgconfig(libudev) +BuildRequires: pkgconfig(libtirpc) +BuildRequires: pkgconfig(openssl) +BuildRequires: pkgconfig(protobuf) >= 3.0.0 BuildRequires: procps-devel -BuildRequires: xmlsec1-openssl-devel - -%if 0%{?fedora} || 0%{?rhel} >= 8 -BuildRequires: gtk3-devel >= 3.10.0 -BuildRequires: gtkmm30-devel >= 3.10.0 -BuildRequires: libtirpc-devel BuildRequires: rpcgen +# Required otherwise udev rules are not built: BuildRequires: systemd-udev -%else -BuildRequires: gtk2-devel >= 2.4.0 -BuildRequires: gtkmm24-devel -BuildRequires: systemd -%endif +BuildRequires: xmlsec1-openssl-devel
Requires: coreutils -%if 0%{?fedora} || 0%{?rhel} > 8 Requires: fuse3 -%else -Requires: fuse -%endif -Requires: iproute Requires: grep +Requires: iproute Requires: pciutils Requires: sed -Requires: systemd Requires: tar Requires: util-linux Requires: which @@ -155,7 +129,6 @@ virtual machines by vRealize Operations Service Discovery Management Pack.
%package salt-minion Summary: Script file to install/uninstall salt-minion -Group: System Environment/Libraries Requires: %{name}%{?_isa} = %{version}-%{release}, systemd, curl, coreutils, gawk, grep ExclusiveArch: x86_64
@@ -187,29 +160,24 @@ machines. autoreconf -vif
%configure \ - --without-kernel-modules \ - --enable-xmlsec1 \ --enable-resolutionkms \ --enable-servicediscovery \ %ifarch x86_64 --enable-salt-minion \ %endif -%if 0%{?fedora} || 0%{?rhel} >= 8 + --enable-vmwgfxctrl \ + --with-fuse \ --with-tirpc \ + --with-xmlsec1 \ --without-gtk2 \ --without-gtkmm \ -%else - --without-tirpc \ - --without-gtk3 \ - --without-gtkmm3 \ -%endif + --without-kernel-modules \ --disable-static
sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool %make_build
%install -export DONT_STRIP=1 %make_install
# Remove exec bit from config files
commit 1db988a0bad1985b1bdb256e441c7fb461b73215 Author: Richard W.M. Jones rjones@redhat.com Date: Thu Mar 20 08:54:15 2025 +0000
Bump and rebuild
diff --git a/open-vm-tools.spec b/open-vm-tools.spec index f196311..087f8c5 100644 --- a/open-vm-tools.spec +++ b/open-vm-tools.spec @@ -32,7 +32,7 @@
Name: open-vm-tools Version: %{toolsversion} -Release: 3%{?dist} +Release: 4%{?dist} Summary: Open Virtual Machine Tools for virtual machines hosted on VMware License: GPL-2.0-only AND W3C AND LGPL-2.1-only AND ICU AND ISC AND MIT URL: https://github.com/vmware/%%7Bname%7D @@ -417,6 +417,9 @@ fi %{_bindir}/vmware-vgauth-smoketest
%changelog +* Thu Mar 20 2025 Richard W.M. Jones rjones@redhat.com - 12.4.0-4 +- Bump and rebuild + * Fri Jan 17 2025 Fedora Release Engineering releng@fedoraproject.org - 12.4.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
commit 211b463b684b0f3b55062e6ab4b1c29bfdaf3081 Author: Yaakov Selkowitz yselkowi@redhat.com Date: Tue Mar 18 15:07:32 2025 -0400
Fix build with GCC 15
GCC 15 defaults to C23, in which the interpretation of function declarations without parameters has changed from unspecified (as in K&R) to `void`. This fix has been accepted upstream.
https://github.com/vmware/open-vm-tools/pull/751
diff --git a/751.patch b/751.patch new file mode 100644 index 0000000..4529fca --- /dev/null +++ b/751.patch @@ -0,0 +1,23 @@ +From 129d87bd5fd5f2436a467d4b7d43e0d102a867da Mon Sep 17 00:00:00 2001 +From: Rudi Heitbaum rudi@heitbaum.com +Date: Wed, 20 Nov 2024 10:40:03 +1100 +Subject: [PATCH] Fix build when compiling with -std=c23 + +Fixes the build when using gcc 15 +--- + open-vm-tools/lib/lock/ul.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/open-vm-tools/lib/lock/ul.c b/open-vm-tools/lib/lock/ul.c +index d376a98af..fc9fdb714 100644 +--- a/open-vm-tools/lib/lock/ul.c ++++ b/open-vm-tools/lib/lock/ul.c +@@ -29,7 +29,7 @@ + static Bool mxInPanic = FALSE; // track when involved in a panic + static Bool mxUserCollectLockingTree = FALSE; + +-Bool (*MXUserTryAcquireForceFail)() = NULL; ++Bool (*MXUserTryAcquireForceFail)(const char *) = NULL; + + static MX_Rank (*MXUserMxCheckRank)(void) = NULL; + static void (*MXUserMxLockLister)(void) = NULL; diff --git a/open-vm-tools.spec b/open-vm-tools.spec index 3b68a46..f196311 100644 --- a/open-vm-tools.spec +++ b/open-vm-tools.spec @@ -52,6 +52,8 @@ ExclusiveArch: %{ix86} x86_64 aarch64
# Patches #Patch0: <patch-name0>.patch +# Fix build when compiling with -std=c23 (GCC 15) +Patch1: https://github.com/vmware/open-vm-tools/pull/751.patch
BuildRequires: autoconf BuildRequires: automake
commit bc13d7ca55ee3d01c769487e59fe5dc5cd190706 Author: Yaakov Selkowitz yselkowi@redhat.com Date: Tue Mar 18 15:05:13 2025 -0400
Fix build for bin-sbin merge
These files are no longer installed, and removing %_sbindir removes all programs now that it matches %_bindir.
https://fedoraproject.org/wiki/Changes/Unify_bin_and_sbin
diff --git a/open-vm-tools.spec b/open-vm-tools.spec index 5682e4a..3b68a46 100644 --- a/open-vm-tools.spec +++ b/open-vm-tools.spec @@ -229,9 +229,6 @@ find %{buildroot}%{_libdir} -name '*.la' -delete rm -fr %{buildroot}%{_defaultdocdir} rm -f docs/api/build/html/FreeSans.ttf
-# Remove mount.vmhgfs & symlink -rm -fr %{buildroot}%{_sbindir} %{buildroot}/sbin/mount.vmhgfs - # Systemd unit files install -p -m 644 -D %{SOURCE1} %{buildroot}%{_unitdir}/%{toolsdaemon}.service install -p -m 644 -D %{SOURCE2} %{buildroot}%{_unitdir}/%{vgauthdaemon}.service
commit 72fdfc12be795469d7f0cff383546b39958420fc Author: Fedora Release Engineering releng@fedoraproject.org Date: Fri Jan 17 21:33:22 2025 +0000
Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
diff --git a/open-vm-tools.spec b/open-vm-tools.spec index bfea040..5682e4a 100644 --- a/open-vm-tools.spec +++ b/open-vm-tools.spec @@ -32,7 +32,7 @@
Name: open-vm-tools Version: %{toolsversion} -Release: 2%{?dist} +Release: 3%{?dist} Summary: Open Virtual Machine Tools for virtual machines hosted on VMware License: GPL-2.0-only AND W3C AND LGPL-2.1-only AND ICU AND ISC AND MIT URL: https://github.com/vmware/%%7Bname%7D @@ -418,6 +418,9 @@ fi %{_bindir}/vmware-vgauth-smoketest
%changelog +* Fri Jan 17 2025 Fedora Release Engineering releng@fedoraproject.org - 12.4.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Thu Jul 18 2024 Fedora Release Engineering releng@fedoraproject.org - 12.4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
commit 248a00185c662ecb8ae15c44098400839ab59f2a Author: Miroslav Suchý msuchy@redhat.com Date: Tue Sep 17 09:11:21 2024 +0000
Correct SPDX license formula
This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4
If there will be no comments in two weeks, I will merge this.
diff --git a/open-vm-tools.spec b/open-vm-tools.spec index 7923e74..bfea040 100644 --- a/open-vm-tools.spec +++ b/open-vm-tools.spec @@ -34,7 +34,7 @@ Name: open-vm-tools Version: %{toolsversion} Release: 2%{?dist} Summary: Open Virtual Machine Tools for virtual machines hosted on VMware -License: GPL-2.0 AND W3C AND LGPL-2.1 AND ICU AND ISC AND MIT +License: GPL-2.0-only AND W3C AND LGPL-2.1-only AND ICU AND ISC AND MIT URL: https://github.com/vmware/%%7Bname%7D
Source0: https://github.com/vmware/%%7Bname%7D/releases/download/stable-%%7Bversion%7...
arch-excludes@lists.fedoraproject.org