Use fully versioned arch-specific requires

https://fedoraproject.org/wiki/Packaging:Guidelines#Requiring_Base_Package
This commit is contained in:
Petr Lautrbach 2016-02-28 19:58:49 +01:00
parent 83d1ec7678
commit 5f5cd53c1b

View File

@ -49,7 +49,7 @@ on binary policies such as customizing policy boolean settings.
%package static
Summary: Static library used to build policy manipulation tools
Group: Development/Libraries
Requires: libsemanage-devel = %{version}-%{release}
Requires: libsemanage-devel%{_isa} = %{version}-%{release}
%description static
The semanage-static package contains the static libraries
@ -58,7 +58,7 @@ needed for developing applications that manipulate binary policies.
%package devel
Summary: Header files and libraries used to build policy manipulation tools
Group: Development/Libraries
Requires: libsemanage = %{version}-%{release} ustr
Requires: %{name}%{?_isa} = %{version}-%{release} ustr
%description devel
The semanage-devel package contains the libraries and header files
@ -67,7 +67,7 @@ needed for developing applications that manipulate binary policies.
%package python
Summary: semanage python bindings for libsemanage
Group: Development/Libraries
Requires: libsemanage = %{version}-%{release}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description python
The libsemanage-python package contains the python bindings for developing
@ -77,7 +77,7 @@ SELinux management applications.
%package python3
Summary: semanage python 3 bindings for libsemanage
Group: Development/Libraries
Requires: libsemanage = %{version}-%{release}
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: libselinux-python3
%description python3