Sync portable naming in debugedit call as well

Related: RHEL-212316
This commit is contained in:
Andrew Hughes 2026-07-18 22:53:54 +01:00
parent 200857eca0
commit 3abfacf12b

View File

@ -2358,7 +2358,7 @@ for suffix in %{build_loop} ; do
%endif
%endif
# Fix build paths in ELF files so it looks like we built them
portablenvr="%{name}-portable-%{version}-%{prelease}.%{portablesuffix}.%{_arch}"
portablenvr="%{name}-%{VERSION}-%{prelease}.%{portablesuffix}.%{_arch}"
for file in $(find ${installdir} -type f) ; do
if ! echo ${file} | grep -q 'libffi' ; then
if file ${file} | grep -q 'ELF'; then