Fix RHEL 7 conditional

This commit is contained in:
Kalev Lember 2018-08-10 21:35:42 +02:00
parent b63d041453
commit f9d92766bf

View File

@ -27,8 +27,9 @@ Provides: dbus-bluez-pin-helper
# Otherwise we might end up with mismatching version # Otherwise we might end up with mismatching version
Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release} Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
Requires: bluez >= 5.0 Requires: bluez >= 5.0
# bluez-obexd is in the main bluez package for RHEL7
%if 0%{?rhel} && 0%{?rhel} <= 7 %if 0%{?rhel} && 0%{?rhel} <= 7
# bluez-obexd is in the main bluez package for RHEL7
%else
Requires: bluez-obexd Requires: bluez-obexd
%endif %endif
%ifnarch s390 s390x %ifnarch s390 s390x