From 529251077c8c0f112171c70a23adcb89f0bba24f Mon Sep 17 00:00:00 2001
From: "Dmitry V. Levin" <ldv(a)altlinux.org>
Date: Fri, 15 Jan 2016 14:17:31 +0000
Subject: 4.11.0.163.9720-1
- New upstream snapshot v4.11-163-g972018f:
+ fixed decoding of syscalls unknown to the kernel on s390/s390x (#1298294).
---
.gitignore | 2 +-
sources | 2 +-
strace.spec | 26 ++++++++++++++++++++------
3 files changed, 22 insertions(+), 8 deletions(-)
diff --git a/.gitignore b/.gitignore
index 5cd6f18..1e4a8d1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/strace-4.11.tar.xz
+/strace-4.11.0.163-9720.tar.xz
diff --git a/sources b/sources
index 67ee050..85040c9 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a15d2555a7febb56d00c6e1a51c655dc strace-4.11.tar.xz
+597ea2b8c152bb0c7b4a986733fe54e7 strace-4.11.0.163-9720.tar.xz
diff --git a/strace.spec b/strace.spec
index a7c8a4a..7fbd6b3 100644
--- a/strace.spec
+++ b/strace.spec
@@ -1,12 +1,13 @@
Summary: Tracks and displays system calls associated with a running process
Name: strace
-Version: 4.11
-Release: 2%{?dist}
+Version: 4.11.0.163.9720
+%define srcname %name-4.11.0.163-9720
+Release: 1%{?dist}
License: BSD
Group: Development/Debuggers
URL:
http://sourceforge.net/projects/strace/
-Source:
http://downloads.sourceforge.net/strace/%{name}-%{version}.tar.xz
-BuildRequires: libacl-devel, time
+Source:
http://downloads.sourceforge.net/strace/%{srcname}.tar.xz
+BuildRequires: time
%ifarch x86_64
# for experimental -k option
BuildRequires: libunwind-devel
@@ -43,7 +44,7 @@ The `strace' program in the `strace' package is for 32-bit
processes.
%endif
%prep
-%setup -q
+%setup -q -n %{srcname}
%build
%configure
@@ -67,7 +68,16 @@ rm -f %{buildroot}%{_bindir}/strace-graph
%endif
%check
-make -k check VERBOSE=1
+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 <linux/version.h>\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
%files
%doc CREDITS ChangeLog ChangeLog-CVS COPYING NEWS README
@@ -81,6 +91,10 @@ make -k check VERBOSE=1
%endif
%changelog
+* Fri Jan 15 2016 Dmitry V. Levin <ldv(a)altlinux.org> - 4.11.0.163.9720-1
+- New upstream snapshot v4.11-163-g972018f:
+ + fixed decoding of syscalls unknown to the kernel on s390/s390x (#1298294).
+
* Wed Dec 23 2015 Dmitry V. Levin <ldv(a)altlinux.org> - 4.11-2
- Enabled experimental -k option on x86_64 (#1170296).
--
cgit v0.12
http://pkgs.fedoraproject.org/cgit/strace.git/commit/?h=f23&id=529251...