only use Recommends where it makes sense

should make buildable on rhel, for example
This commit is contained in:
Rex Dieter 2017-11-08 13:48:07 -06:00
parent 290b717ecb
commit 5416538efb

View File

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