Use %_isa in Requires for main package from devel

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2017-09-30 19:46:05 +02:00
parent 01e97e6f41
commit b0d3585311

View File

@ -3,7 +3,7 @@
Name: libmodulemd
Version: %{majorminorversion}%{?patchversion:.%{patchversion}}
Release: 4%{?dist}
Release: 5%{?dist}
Summary: Module metadata manipulation library
License: MIT
@ -24,7 +24,7 @@ See https://pagure.io/modulemd for more details.
%package devel
Summary: Development files for libmodulemd
Requires: %{name} = %{version}-%{release}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
Development files for libmodulemd
@ -59,6 +59,9 @@ export LC_CTYPE=C.utf8
%{_datadir}/gir-1.0/Modulemd-%{majorminorversion}.gir
%changelog
* Sat Sep 30 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.0-5
- Use %%_isa in Requires for main package from devel
* Mon Sep 18 2017 Stephen Gallagher <sgallagh@redhat.com> - 0.1.0-4
- Correct the license to MIT