From a7c690d87a311cd12dba256f7ebf57b4cd222133 Mon Sep 17 00:00:00 2001 From: Petr Lautrbach Date: Feb 28 2016 19:07:09 +0000 Subject: Use fully versioned arch-specific requires https://fedoraproject.org/wiki/Packaging:Guidelines#Requiring_Base_Package --- diff --git a/libsemanage.spec b/libsemanage.spec index 6c8ee05..cfcd456 100644 --- a/libsemanage.spec +++ b/libsemanage.spec @@ -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