diff --git a/.gitignore b/.gitignore index 52584ec..601fcf2 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/strace-4.20.tar.xz +/strace-4.21.tar.xz diff --git a/sources b/sources index 86f86a6..33595fd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (strace-4.20.tar.xz) = 869b3b9c48401619073a021e20e80cce37d8884f615bdb52dac9e6a2903df11507d7a0cb0ccad75bcc03d8dfafead0e68d14267e663503e94849079c9a2ebd4c +SHA512 (strace-4.21.tar.xz) = d3b0393f1f727530e2e5b4490c80a905d251223167a61f9a86884a4b8a4f25522c46c465961968ca25013f321e561e217cb6e8f15be31d4d371274030526187d diff --git a/strace.spec b/strace.spec index 9772705..c214c4a 100644 --- a/strace.spec +++ b/strace.spec @@ -1,13 +1,16 @@ Summary: Tracks and displays system calls associated with a running process Name: strace -Version: 4.20 -Release: 2%{?dist} +Version: 4.21 +Release: 1%{?dist} License: BSD Group: Development/Debuggers URL: https://strace.io Source: https://downloads.sourceforge.net/strace/%{name}-%{version}.tar.xz +%if 0%{?fedora} >= 18 || 0%{?centos} >= 8 || 0%{?rhel} >= 8 || 0%{?suse_version} >= 1200 +BuildRequires: pkgconfig(bluez) +%endif %if 0%{?fedora} >= 20 || 0%{?centos} >= 8 || 0%{?rhel} >= 8 || 0%{?suse_version} >= 1300 -%define buildrequires_libunwind_devel BuildRequires: libunwind-devel +%define buildrequires_libunwind_devel BuildRequires: libunwind-devel binutils-devel %endif %ifarch x86_64 # for experimental -k option @@ -48,8 +51,8 @@ The `strace' program in the `strace' package is for 32-bit processes. %prep %setup -q echo -n %version-%release > .tarball-version -echo -n 2017 > .year -echo -n 2017-08-28 > .strace.1.in.date +echo -n 2018 > .year +echo -n 2018-02-11 > .strace.1.in.date %build echo 'BEGIN OF BUILD ENVIRONMENT INFORMATION' @@ -62,7 +65,7 @@ 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 +%configure --enable-mpers=check make %{?_smp_mflags} %install @@ -83,6 +86,7 @@ rm -f %{buildroot}%{_bindir}/strace-graph %endif %check +%{buildroot}%{_bindir}/strace -V make %{?_smp_mflags} -k check VERBOSE=1 echo 'BEGIN OF TEST SUITE INFORMATION' tail -n 99999 -- tests*/test-suite.log tests*/ksysent.log @@ -102,8 +106,8 @@ echo 'END OF TEST SUITE INFORMATION' %endif %changelog -* Fri Feb 09 2018 Fedora Release Engineering - 4.20-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild +* Tue Feb 13 2018 Dmitry V. Levin - 4.21-1 +- v4.20 -> v4.21. * Mon Nov 13 2017 Dmitry V. Levin - 4.20-1 - v4.19 -> v4.20.