Fix dependency between freeipa-selinux and freeipa-common

We need to make sure freeipa-selinux subpackage pulls the same NVR set of
freeipa-* packages. We can achieve this with freeipa-common dependency.
Using freeipa-server was wrong as it pulled server packages into a
client-only deployment.

Rsolves: rhbz#1883005

Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
Alexander Bokovoy 2020-09-27 18:03:50 +03:00
parent dd627d4562
commit cc0d18ca0a

View File

@ -161,7 +161,7 @@
Name: %{package_name} Name: %{package_name}
Version: %{IPA_VERSION} Version: %{IPA_VERSION}
Release: 2%{?dist} Release: 3%{?dist}
Summary: The Identity, Policy and Audit system Summary: The Identity, Policy and Audit system
License: GPLv3+ License: GPLv3+
@ -789,7 +789,7 @@ 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}-server = %{version}-%{release} 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}
@ -1529,6 +1529,10 @@ fi
%endif %endif
%changelog %changelog
* Sun Sep 27 2020 Alexander Bokovoy <abokovoy@redhat.com> - 4.8.10-3
- Fix dependency between freeipa-selinux and freeipa-common
- Resolves: rhbz#1883005
* Sat Sep 26 2020 Alexander Bokovoy <abokovoy@redhat.com> - 4.8.10-2 * Sat Sep 26 2020 Alexander Bokovoy <abokovoy@redhat.com> - 4.8.10-2
- Support upgrade F32 -> F33 with systemd-resolved - Support upgrade F32 -> F33 with systemd-resolved