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 c0a03a95a1
commit a7c690d87a
1 changed files with 4 additions and 4 deletions

View File

@ -47,7 +47,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
@ -56,7 +56,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
@ -65,7 +65,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
@ -75,7 +75,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