From b3984c2d4c03e0e187c161b4ad9a2d9636fc224e Mon Sep 17 00:00:00 2001 From: Eugene Syromiatnikov Date: Mon, 5 Oct 2020 21:30:38 +0200 Subject: [PATCH] 5.9-1 - v5.8 -> v5.9 (resolves: #1035433). Signed-off-by: Eugene Syromiatnikov --- .gitignore | 2 +- sources | 2 +- strace.spec | 19 ++++++++++++++----- 3 files changed, 16 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 8094382..07c15e8 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/strace-5.8.tar.xz +/strace-5.9.tar.xz diff --git a/sources b/sources index 371be86..b267f38 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (strace-5.8.tar.xz) = 633c3daa2dd3d273839cbb8ebd7f6512a38b39af0d0d89f4676c2067e199f346615406d85e3e13f9e4da8dbeb62095185895ffae986eb99b64775a4287e38f4c +SHA512 (strace-5.9.tar.xz) = f28d5dcceccb44557b39ed6f295f3250662804dc3ad79959bfadffcecc9b736e532c7c90dc89ebf9d07eb3e02a5ace231605851148ca09d41c8c60dc1ff68206 diff --git a/strace.spec b/strace.spec index 8b739b5..268f628 100644 --- a/strace.spec +++ b/strace.spec @@ -1,6 +1,6 @@ Summary: Tracks and displays system calls associated with a running process Name: strace -Version: 5.8 +Version: 5.9 Release: 1%{?dist} # The test suite is GPLv2+, all the rest is LGPLv2.1+. License: LGPL-2.1+ and GPL-2.0+ @@ -39,6 +39,12 @@ BuildRequires: pkgconfig(bluez) %{?!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}" INSTALL="%__install -p"} + %description The strace program intercepts and records the system calls called and received by a running process. Strace can print a record of each @@ -53,7 +59,7 @@ received by a process. %setup -q echo -n %version-%release > .tarball-version echo -n 2020 > .year -echo -n 2020-06-16 > .strace.1.in.date +echo -n 2020-09-23 > .strace.1.in.date %build echo 'BEGIN OF BUILD ENVIRONMENT INFORMATION' @@ -69,10 +75,10 @@ echo 'END OF BUILD ENVIRONMENT INFORMATION' CFLAGS_FOR_BUILD="$RPM_OPT_FLAGS"; export CFLAGS_FOR_BUILD %configure --enable-mpers=check -make %{?_smp_mflags} +%make_build %install -make DESTDIR=%{buildroot} install +%make_install # remove unpackaged files from the buildroot rm -f %{buildroot}%{_bindir}/strace-graph @@ -85,7 +91,7 @@ wait %check %{buildroot}%{_bindir}/strace -V -make %{?_smp_mflags} -k check VERBOSE=1 +%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 | @@ -100,6 +106,9 @@ echo 'END OF TEST SUITE INFORMATION' %{_mandir}/man1/* %changelog +* Mon Oct 05 2020 Eugene Syromyatnikov - 5.9-1 +- v5.8 -> v5.9 (resolves: #1035433). + * Thu Aug 06 2020 Dmitry V. Levin - 5.8-1 - v5.7 -> v5.8.