From bb9ad19b0a7aa32f02024c38c6d4f55154ac3fbb Mon Sep 17 00:00:00 2001 From: Eugene Syromyatnikov <evgsyr@gmail.com> Date: Wed, 21 Sep 2016 03:23:57 +0300 Subject: [PATCH] strace.spec.in: add support for old distros that cannot handle .tar.xz --- strace.spec.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/strace.spec.in b/strace.spec.in index b5905147..f8a25459 100644 --- a/strace.spec.in +++ b/strace.spec.in @@ -12,7 +12,12 @@ License: LGPL-2.1+ and GPL-2.0+ Group: Development%{?suse_version:/Tools}/Debuggers %endif URL: https://strace.io +%if 0%{?fedora} >= 12 || 0%{?centos} >= 6 || 0%{?rhel} >= 6 || 0%{?suse_version} >= 1200 Source: https://strace.io/files/%{version}/strace-%{version}.tar.xz +BuildRequires: xz +%else +Source: strace-%{version}.tar.gz +%endif BuildRequires: gcc gzip # Install Bluetooth headers for AF_BLUETOOTH sockets decoding. -- 2.40.0