Summary: Tracks system calls that are made by a running process Name: strace Version: 4.16 Release: 3%{?dist} License: BSD URL: http://sourceforge.net/p/strace/code/ci/master/tree/ Group: Development/Debuggers Vendor: VMware, Inc. Distribution: Photon Source0: http://downloads.sourceforge.net/project/strace/strace/%{version}/%{name}-%{version}.tar.xz %define sha1 strace=b780a8cd2e60ea836cfd3468e0f81623a346d180 BuildRequires: libacl-devel, libaio-devel %global __requires_exclude ^/usr/bin/perl$ %description The strace program intercepts and displays the system calls made by a running process. strace also records all the arugments and return values from the system calls. This is useful in debugging a process. %prep %setup -q %build ./configure \ --prefix=%{_prefix} \ # to resolve build issue with glibc-2.26 sed -i 's/struct ucontext/ucontext_t/g' linux/x86_64/arch_sigreturn.c sed -i 's/struct ucontext/ucontext_t/g' linux/arm/arch_sigreturn.c make %{?_smp_mflags} %install [ %{buildroot} != "/"] && rm -rf %{buildroot}/* make install DESTDIR=%{buildroot} %check make -k check %clean rm -rf %{buildroot}/* %files %defattr(-,root,root) %{_bindir}/* %{_mandir}/man1/* %changelog * Tue Nov 14 2017 Alexey Makhalov 4.16-3 - Aarch64 support * Wed Aug 23 2017 Alexey Makhalov 4.16-2 - Fix compilation issue for glibc-2.26 * Wed Apr 12 2017 Vinay Kulkarni 4.16-1 - Update to version 4.16 * Thu Oct 20 2016 Alexey Makhalov 4.11-3 - Exclude perl dependency * Tue May 24 2016 Priyesh Padmavilasom 4.11-2 - GA - Bump release of all rpms * Wed Jan 20 2016 Anish Swaminathan 4.11-1 - Upgrade version. * Thu Oct 09 2014 Divya Thaluru 4.10-1 - Initial build. First version