summaryrefslogtreecommitdiff
path: root/strace.spec.in
diff options
context:
space:
mode:
Diffstat (limited to 'strace.spec.in')
-rw-r--r--strace.spec.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/strace.spec.in b/strace.spec.in
index b59051478..f8a254594 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.