make conditional forward-looking

Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
This commit is contained in:
Igor Gnatenko 2017-11-08 20:50:42 +01:00
parent 5416538efb
commit fd72e1f0d4

View File

@ -53,10 +53,10 @@ Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%package libs
Summary: Exif and Iptc metadata manipulation library
# not strictly required, but convenient and expected
%if 0%{?fedora} > 25
Recommends: %{name} = %{version}-%{release}
%else
%if 0%{?rhel} && 0%{?rhel} <= 7
Requires: %{name} = %{version}-%{release}
%else
Recommends: %{name} = %{version}-%{release}
%endif
%description libs
A C++ library to access image metadata, supporting full read and write access