Skip to content

Commit 5c1729a

Browse files
committed
Adjusted CFEngine package script to allow /var/cfengine/lib RPATH in binaries
Setting QA_RPATHS=$(( 0x0002 )) is our best way of working around this with newer rpmbuild versions since rhel-10. Ticket: ENT-13016 Changelog: none
1 parent cf56890 commit 5c1729a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build-scripts/package

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,8 @@ rpm | lpp)
225225
# eval is needed to preserve spaces in arguments within quotes
226226
# Example: --define 'with_expansion 1' needs to be passed as two args
227227
log_debug "Building RPM package with rpmbuild"
228+
# rhel-10 rpmbuild is more picky about /var/cfengine/lib RPATH we need
229+
export QA_RPATHS=$(( 0x0002 ))
228230
eval rpmbuild -bb \
229231
--define "'_topdir $BASEDIR/$PKG'" \
230232
--define "'buildprefix $BUILDPREFIX'" \

0 commit comments

Comments
 (0)