Use correct format specifier in brp-llvm-compile-lto-elf

Related: RHEL-11165
This commit is contained in:
Nikita Popov 2023-10-02 09:23:11 +02:00
parent 54595832f2
commit f567673967
2 changed files with 5 additions and 2 deletions

View File

@ -49,6 +49,6 @@ check_convert_bitcode () {
echo "Checking for LLVM bitcode artifacts"
export -f check_convert_bitcode
# Deduplicate by device:inode to avoid processing hardlinks in parallel.
find "$RPM_BUILD_ROOT" -type f -name "*.[ao]" -printf "%d:%i %p\n" | \
find "$RPM_BUILD_ROOT" -type f -name "*.[ao]" -printf "%D:%i %p\n" | \
awk '!seen[$1]++' | cut -d" " -f2- | \
xargs -d"\n" -r -n1 -P$NCPUS sh -c "check_convert_bitcode \$@ $CLANG_FLAGS" ARG0

View File

@ -6,7 +6,7 @@
Summary: Red Hat specific rpm configuration files
Name: redhat-rpm-config
Version: 205
Version: 206
Release: 1%{?dist}
# No version specified.
License: GPL+
@ -254,6 +254,9 @@ install -p -m 644 -t %{buildroot}%{_rpmluadir}/fedora/srpm forge.lua
%doc buildflags.md
%changelog
* Mon Oct 02 2023 Nikita Popov <npopov@redhat.com> - 206-1
- Use correct format specifier in brp-llvm-compile-lto-elf
* Fri Sep 29 2023 Nikita Popov <npopov@redhat.com> - 205-1
- Fix the fix for brp-llvm-compile-lto-elf