diff options
author | Eugene Syromyatnikov <evgsyr@gmail.com> | 2016-09-21 03:23:57 +0300 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2019-10-22 17:44:08 +0000 |
commit | bb9ad19b0a7aa32f02024c38c6d4f55154ac3fbb (patch) | |
tree | ecf9b10d4077aece647c96c90f1d92fd4b82f7ab /strace.spec.in | |
parent | 3c57c523cd0c99bfec20338a8fd7ba76f476bc40 (diff) | |
download | strace-bb9ad19b0a7aa32f02024c38c6d4f55154ac3fbb.tar.gz |
strace.spec.in: add support for old distros that cannot handle .tar.xz
Diffstat (limited to 'strace.spec.in')
-rw-r--r-- | strace.spec.in | 5 |
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. |