summaryrefslogtreecommitdiff
path: root/strace.spec.in
diff options
context:
space:
mode:
Diffstat (limited to 'strace.spec.in')
-rw-r--r--strace.spec.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/strace.spec.in b/strace.spec.in
index 280b31f03..bea8d8255 100644
--- a/strace.spec.in
+++ b/strace.spec.in
@@ -81,7 +81,7 @@ file -L /bin/sh
gcc --version |head -1
ld --version |head -1
kver="$(printf '%%s\n%%s\n' '#include <linux/version.h>' 'LINUX_VERSION_CODE' | gcc -E -P -)"
-printf 'kernel-headers %%s.%%s.%%s\n' $(($kver/65536)) $(($kver/256%%256)) $(($kver%%256))
+printf 'kernel-headers %%s.%%s.%%s\n' $((kver/65536)) $((kver/256%%256)) $((kver%%256))
echo 'END OF BUILD ENVIRONMENT INFORMATION'
CFLAGS_FOR_BUILD="$RPM_OPT_FLAGS"; export CFLAGS_FOR_BUILD