From ba47dddf2a446beeca97fbef0cf210499d5ae120 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20De=C3=A1k?= Date: Tue, 24 Jan 2023 17:23:47 +1100 Subject: [PATCH] Fix RPM build issues. --- Scripts/Build/BuildLinux.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Scripts/Build/BuildLinux.sh b/Scripts/Build/BuildLinux.sh index 990767c..0def8d1 100755 --- a/Scripts/Build/BuildLinux.sh +++ b/Scripts/Build/BuildLinux.sh @@ -128,6 +128,11 @@ buildRPM() { popd + # Remove "synergy-core" from "BUILDROOT", as it's not part of the "synergy.spec" file list. Otherwise, + # the extra file will cause rpmbuild to emit "Installed (but unpackaged) file(s) found" errors. Hopefully + # Synergy devs will fix this problem in the future and the following hack won't be needed. + rm "${rpmBuildrootPath}/usr/bin/synergy-core" + pushd "${rpmToplevelPath}" || exit 1 rpmbuild -bb \