diff --git a/strace.spec b/strace.spec index 9a4357dcc7af2e9b66c1fb5f238648b1d43a6b9b..719a018573c7b29b81c52118e08d37d8a8ab3e2a 100644 --- a/strace.spec +++ b/strace.spec @@ -1,7 +1,7 @@ Summary: Tracks and displays system calls associated with a running process Name: strace Version: 6.1 -Release: 1 +Release: 2 # The test suite is GPLv2+, all the rest is LGPLv2.1+. License: LGPL-2.1+ and GPL-2.0+ # Some distros require Group tag to be present, @@ -71,6 +71,7 @@ kver="$(printf '%%s\n%%s\n' '#include ' 'LINUX_VERSION_CODE' | printf 'kernel-headers %%s.%%s.%%s\n' $(($kver/65536)) $(($kver/256%%256)) $(($kver%%256)) echo 'END OF BUILD ENVIRONMENT INFORMATION' +export CC_FOR_BUILD="$CC"; CFLAGS_FOR_BUILD="$RPM_OPT_FLAGS"; export CFLAGS_FOR_BUILD %configure --enable-mpers=check %make_build @@ -111,6 +112,9 @@ make check %{_mandir}/man1/* %changelog +* Sat May 13 2023 chenzanyu - 6.1-2 +- Fixed A compilation error under LLVM because no compiler was specified in file strace.spec + * Fri Feb 3 2023 zhujin - 6.1-1 - update to 6.1