From b99f410cacbfa714dc36573423b8f91421104e2fd68b27f25a9db6449aeb80c3 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Thu, 1 Feb 2024 16:11:33 +0000 Subject: [PATCH] Accepting request 1143440 from home:cahu:branches:devel:tools - Enable SELinux Context Printing (--secontext). OBS-URL: https://build.opensuse.org/request/show/1143440 OBS-URL: https://build.opensuse.org/package/show/devel:tools/strace?expand=0&rev=164 --- strace.changes | 5 +++++ strace.spec | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/strace.changes b/strace.changes index f9174c3..f528372 100644 --- a/strace.changes +++ b/strace.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Feb 1 14:42:14 UTC 2024 - Cathy Hu + +- Enable SELinux Context Printing (--secontext). + ------------------------------------------------------------------- Mon Jan 29 19:44:45 UTC 2024 - Andreas Schwab diff --git a/strace.spec b/strace.spec index 212c417..ec90b21 100644 --- a/strace.spec +++ b/strace.spec @@ -1,7 +1,7 @@ # # spec file for package strace # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -49,6 +49,10 @@ BuildRequires: time %ifarch x86_64 Obsoletes: strace-32bit %endif +# enable SELinux context output (--secontext) +%if 0%{?suse_version} >= 1500 +BuildRequires: libselinux-devel +%endif %description With strace, you can trace the activity of a program. Information