From b8fc0ce58738db850882cbd562189fe3587a2885 Mon Sep 17 00:00:00 2001 From: Joseph Lee Date: Tue, 13 Jun 2023 12:48:51 -0400 Subject: [PATCH] Update gvm-lsc-rpm-creator Setting "_topdir" in the rpmbuild config is required to prevent the rpmbuild process from attempting to access the gvm user's home directory, (which does not exist) resulting in a 0-byte user credential creator .rpm package. --- tools/gvm-lsc-rpm-creator | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/gvm-lsc-rpm-creator b/tools/gvm-lsc-rpm-creator index 813fe3695..474bf57ff 100755 --- a/tools/gvm-lsc-rpm-creator +++ b/tools/gvm-lsc-rpm-creator @@ -130,6 +130,8 @@ SPEC_FILE="${SPEC_DIR}/${PACKAGE_NAME_VERSION}.spec" echo "BuildArch: noarch" # Put output in current directory echo "%define _rpmdir %(pwd)" + # Set _topdir + echo "%define _topdir ${TEMP_DIR}" # Create description section echo "%description"