diff --git a/strace-6.12.tar.xz b/strace-6.12.tar.xz new file mode 100644 index 0000000000000000000000000000000000000000..b6205782e438552c15ad963149db053f29cc9c22 Binary files /dev/null and b/strace-6.12.tar.xz differ diff --git a/strace-6.6.tar.xz b/strace-6.6.tar.xz deleted file mode 100644 index a4735822cdc9859eace20b14b7d78b6da9529a98..0000000000000000000000000000000000000000 Binary files a/strace-6.6.tar.xz and /dev/null differ diff --git a/strace.spec b/strace.spec index f391e50693b806f21399cc67ccb3fcda8c2f3f24..f7913232d73ca3344d494348269525ed4c5ab015 100644 --- a/strace.spec +++ b/strace.spec @@ -1,34 +1,16 @@ Summary: Tracks and displays system calls associated with a running process Name: strace -Version: 6.6 -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, -# some require Group tag to be absent, -# some do not care about Group tag at all, -# and we have to cater for all of them. +Version: 6.12 +Release: 1 +License: LGPL-2.1-or-later AND GPL-2.0-or-later AND GPL-3.0-or-later AND BSD-2-Clause AND BSD-3-Clause AND (GPL-1.0-or-later WITH Linux-syscall-note) AND (GPL-2.0-or-later WITH Linux-syscall-note) AND (GPL-2.0-only WITH Linux-syscall-note) AND (LGPL-2.0-or-later WITH Linux-syscall-note) AND (LGPL-2.1-or-later WITH Linux-syscall-note) AND ((GPL-2.0-only WITH Linux-syscall-note) OR Linux-OpenIB) AND ((GPL-2.0-only WITH Linux-syscall-note) OR MIT) AND ((GPL-2.0-or-later WITH Linux-syscall-note) OR BSD-3-Clause) AND ISC AND X11 AND FSFAP AND FSFUL AND FSFULLR AND FSFULLRWD URL: https://strace.io Source: https://strace.io/files/%{version}/strace-%{version}.tar.xz -BuildRequires: xz -BuildRequires: gcc gzip make - -# Install Bluetooth headers for AF_BLUETOOTH sockets decoding. +BuildRequires: gcc make BuildRequires: pkgconfig(bluez) - -# Install elfutils-devel or libdw-devel to enable strace -k option. -# Install binutils-devel to enable symbol demangling. -BuildRequires: elfutils-devel binutils-devel - -# OBS compatibility -%{?!buildroot:BuildRoot: %_tmppath/buildroot-%name-%version-%release} -%define maybe_use_defattr %{?suse_version:%%defattr(-,root,root)} - -# Fallback definitions for make_build/make_install macros -%{?!__make: %global __make %_bindir/make} -%{?!__install: %global __install %_bindir/install} -%{?!make_build: %global make_build %__make %{?_smp_mflags}} -%{?!make_install: %global make_install %__make install DESTDIR="%{?buildroot}"} +BuildRequires: elfutils-devel +BuildRequires: binutils-devel +BuildRequires: libunwind-devel +BuildRequires: libselinux-devel %description The strace program intercepts and records the system calls called and @@ -42,64 +24,29 @@ received by a process. %prep %autosetup -p1 -n %{name}-%{version} -echo -n %version-%release > .tarball-version -echo -n 2022 > .year -echo -n 2022-10-16 > doc/.strace.1.in.date -echo -n 2022-01-01 > doc/.strace-log-merge.1.in.date %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 -ld --version |head -1 -kver="$(printf '%%s\n%%s\n' '#include ' 'LINUX_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' - -export CC_FOR_BUILD="$CC"; -CFLAGS_FOR_BUILD="$RPM_OPT_FLAGS"; export CFLAGS_FOR_BUILD +export CFLAGS_FOR_BUILD="%{build_cflags}" %configure --enable-mpers=check %make_build %install %make_install -# some say uncompressed changelog files are too big -for f in ChangeLog ChangeLog-CVS; do - gzip -9n < "$f" > "$f".gz & -done -wait - %check -#make check - -#width=$(echo __LONG_WIDTH__ |%__cc -E -P -) -#skip_32bit=0 -#%if 0%{?fedora} >= 35 || 0%{?rhel} > 9 -#skip_32bit=1 -#%endif - -#if [ "${width}" != 32 ] || [ "${skip_32bit}" != 1 ]; then -# %{buildroot}%{_bindir}/strace -V -# %make_build -k check VERBOSE=1 -# echo 'BEGIN OF TEST SUITE INFORMATION' -# tail -n 99999 -- tests*/test-suite.log tests*/ksysent.gen.log -# find tests* -type f -name '*.log' -print0 | -# xargs -r0 grep -H '^KERNEL BUG:' -- ||: -# echo 'END OF TEST SUITE INFORMATION' -#fi +%make_build check %files -%maybe_use_defattr -%doc CREDITS ChangeLog.gz ChangeLog-CVS.gz COPYING NEWS README +%license COPYING +%doc CREDITS ChangeLog ChangeLog-CVS NEWS README %{_bindir}/strace %{_bindir}/strace-log-merge %{_mandir}/man1/* %changelog +* Wed Nov 27 2024 Funda Wang - 6.12-1 +- update to 6.12 + * Wed Feb 28 2024 liuchao - 6.6-2 - remove redundant judgments