diff --git a/exiv2.spec b/exiv2.spec index 80ffa13..2a7c714 100644 --- a/exiv2.spec +++ b/exiv2.spec @@ -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