From 3560afe55f6cc14feebc7110a1a0534ab8ceba1b Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Tue, 31 May 2016 17:25:41 +0000 Subject: [PATCH] 4.12-1 - v4.11-163-g972018f -> v4.12. --- .gitignore | 2 +- sources | 2 +- strace.spec | 31 +++++++++++++++++++------------ 3 files changed, 21 insertions(+), 14 deletions(-) diff --git a/.gitignore b/.gitignore index 1e4a8d1..d67e267 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/strace-4.11.0.163-9720.tar.xz +/strace-4.12.tar.xz diff --git a/sources b/sources index 85040c9..7986182 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -597ea2b8c152bb0c7b4a986733fe54e7 strace-4.11.0.163-9720.tar.xz +efb8611fc332e71ec419c53f59faa93e strace-4.12.tar.xz diff --git a/strace.spec b/strace.spec index 37fdd90..fac1c06 100644 --- a/strace.spec +++ b/strace.spec @@ -1,8 +1,8 @@ Summary: Tracks and displays system calls associated with a running process Name: strace -Version: 4.11.0.163.9720 -%define srcname %name-4.11.0.163-9720 -Release: 2%{?dist} +Version: 4.12 +Release: 1%{?dist} +%define srcname %name-%version License: BSD Group: Development/Debuggers URL: http://sourceforge.net/projects/strace/ @@ -47,6 +47,16 @@ The `strace' program in the `strace' package is for 32-bit processes. %setup -q -n %{srcname} %build +echo 'BEGIN OF BUILD ENVIRONMENT INFORMATION' +uname -a |head -1 +libc="$(ldd /bin/sh |sed -n 's|^[^/]*\(/[^ ]*/libc\.so[^ ]*\).*|\1|p' |head -1)" +$libc |head -1 +file -L /bin/sh +gcc --version |head -1 +kver="$(echo -e '#include \nLINUX_VERSION_CODE' | gcc -E -P -)" +printf 'kernel-headers %%s.%%s.%%s\n' $(($kver/65536)) $(($kver/256%%256)) $(($kver%%256)) +echo 'END OF BUILD ENVIRONMENT INFORMATION' + %configure make %{?_smp_mflags} @@ -68,16 +78,10 @@ rm -f %{buildroot}%{_bindir}/strace-graph %endif %check -uname -a |head -1 -libc="$(ldd /bin/sh |sed -n 's|^[^/]*\(/[^ ]*/libc\.so[^ ]*\).*|\1|p' |head -1)" -$libc |head -1 -file -L /bin/sh -gcc --version |head -1 -kver="$(echo -e '#include \nLINUX_VERSION_CODE' | gcc -E -P -)" -printf 'kernel-headers %%s.%%s.%%s\n' $(($kver/65536)) $(($kver/256%%256)) $(($kver%%256)) -export SLEEP_A_BIT='sleep 0.1' make %{?_smp_mflags} -k check VERBOSE=1 -cat tests/test-suite.log tests/ksysent.log +echo 'BEGIN OF TEST SUITE INFORMATION' +tail -n 99999 -- tests*/test-suite.log tests*/ksysent.log +echo 'END OF TEST SUITE INFORMATION' %files %doc CREDITS ChangeLog ChangeLog-CVS COPYING NEWS README @@ -91,6 +95,9 @@ cat tests/test-suite.log tests/ksysent.log %endif %changelog +* Tue May 31 2016 Dmitry V. Levin - 4.12-1 +- v4.11-163-g972018f -> v4.12. + * Fri Feb 05 2016 Fedora Release Engineering - 4.11.0.163.9720-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild