Make selinux subpackage dependency in -common versioned
This commit is contained in:
parent
cc0d18ca0a
commit
649963736f
@ -739,7 +739,7 @@ Conflicts: %{alt_name}-python < %{version}
|
|||||||
# This ensures that the *-selinux package and all it’s dependencies are not
|
# This ensures that the *-selinux package and all it’s dependencies are not
|
||||||
# pulled into containers and other systems that do not use SELinux. The
|
# pulled into containers and other systems that do not use SELinux. The
|
||||||
# policy defines types and file contexts for client and server.
|
# policy defines types and file contexts for client and server.
|
||||||
Requires: (%{name}-selinux if selinux-policy-%{selinuxtype})
|
Requires: (%{name}-selinux = %{version}-%{release} if selinux-policy-%{selinuxtype})
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%description common
|
%description common
|
||||||
@ -789,7 +789,6 @@ This package contains tests that verify IPA functionality under Python 3.
|
|||||||
%package selinux
|
%package selinux
|
||||||
Summary: FreeIPA SELinux policy
|
Summary: FreeIPA SELinux policy
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
Requires: %{name}-common = %{version}-%{release}
|
|
||||||
Requires: selinux-policy-%{selinuxtype}
|
Requires: selinux-policy-%{selinuxtype}
|
||||||
Requires(post): selinux-policy-%{selinuxtype}
|
Requires(post): selinux-policy-%{selinuxtype}
|
||||||
%{?selinux_requires}
|
%{?selinux_requires}
|
||||||
|
Loading…
Reference in New Issue
Block a user