Use %{?_isa} for package Requires

This commit is contained in:
Peter Robinson 2018-03-25 10:53:02 +01:00
parent a8e9f1e474
commit a7c7c1e1cc

View File

@ -21,7 +21,7 @@ BuildRequires: gcc
BuildRequires: libtool
BuildRequires: gettext
BuildRequires: readline-devel
Requires: %{name}-libs = %{epoch}:%{version}-%{release}
Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
%description
Gdbm is a GNU database indexing library, including routines which use
@ -42,7 +42,7 @@ Libraries for the Gdbm GNU database indexing library
%package devel
Summary: Development libraries and header files for the gdbm library
Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
Requires(post): info
Requires(preun): info