From 5416538efb73456e27a41486f917399bc66bf155 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Wed, 8 Nov 2017 13:48:07 -0600 Subject: [PATCH] only use Recommends where it makes sense should make buildable on rhel, for example --- exiv2.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/exiv2.spec b/exiv2.spec index b29f782..80ffa13 100644 --- a/exiv2.spec +++ b/exiv2.spec @@ -53,7 +53,11 @@ 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 +Requires: %{name} = %{version}-%{release} +%endif %description libs A C++ library to access image metadata, supporting full read and write access to the Exif and Iptc metadata, Exif MakerNote support, extract and delete