From 07e33e515a114afa719b10559db775e39d65547a Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Mon, 18 Mar 2019 19:06:47 +0000 Subject: [PATCH] strace.spec.in: do not define Group tag for modern distros * strace.spec.in (Group): Conditionalize on distro version. References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag --- strace.spec.in | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/strace.spec.in b/strace.spec.in index 5a973f34..7cdf192d 100644 --- a/strace.spec.in +++ b/strace.spec.in @@ -4,7 +4,13 @@ Version: @PACKAGE_VERSION@ Release: 1%{?dist} # The test suite is GPLv2+, all the rest is LGPLv2.1+. License: LGPL-2.1-or-later and GPL-2.0-or-later +# 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. +%if 0%{?fedora} < 28 && 0%{?centos} < 8 && 0%{?rhel} < 8 && 0%{?suse_version} < 1500 Group: Development%{?suse_version:/Tools}/Debuggers +%endif URL: https://strace.io Source: https://strace.io/files/%{version}/strace-%{version}.tar.xz BuildRequires: gcc gzip -- 2.40.0