From: Eugene Syromyatnikov Date: Thu, 29 Aug 2019 12:13:08 +0000 (+0200) Subject: strace.spec: lower CentOS version requirement for pkgconfig(bluez) X-Git-Tag: v5.3~37 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ff36129d98cedcba3c080e1a2e3218a6be556e9b;p=strace strace.spec: lower CentOS version requirement for pkgconfig(bluez) bluez-libs-devel provides pkgconfig(bluez) and the actual headers both in RHEL 6 and RHEL 7, so the version condition for enablement of pkgconfig(bluez) in spec file can be lowered. However, the package in question is in the "optional" repository in RHEL, and there seems to be no easy way to enable it in OBS (where this spec file is mainly used) so only %centos check is actually changed for now. * strace.spec.in: Change "0%{?centos} >= 8" to "0%{?centos} >= 6" for "BuildRequires: pkgconfig(bluez)" enablement. References: https://bugzilla.redhat.com/show_bug.cgi?id=1746885 --- diff --git a/strace.spec.in b/strace.spec.in index 5437bbd9..d8302165 100644 --- a/strace.spec.in +++ b/strace.spec.in @@ -16,7 +16,7 @@ Source: https://strace.io/files/%{version}/strace-%{version}.tar.xz BuildRequires: gcc gzip # Install Bluetooth headers for AF_BLUETOOTH sockets decoding. -%if 0%{?fedora} >= 18 || 0%{?centos} >= 8 || 0%{?rhel} >= 8 || 0%{?suse_version} >= 1200 +%if 0%{?fedora} >= 18 || 0%{?centos} >= 6 || 0%{?rhel} >= 8 || 0%{?suse_version} >= 1200 BuildRequires: pkgconfig(bluez) %endif