From 53393f89c01f0b4c6d4586464be45c572f127c90 Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Feb 14 2018 15:34:58 +0000 Subject: Fix package requirements to use Python 3 packages All scripts are using /usr/bin/python3 but 389-ds-base was still requiring Python 2 packages for LDAP and SELinux. Signed-off-by: Christian Heimes --- diff --git a/389-ds-base.spec b/389-ds-base.spec index f7cff9b..e946a5d 100644 --- a/389-ds-base.spec +++ b/389-ds-base.spec @@ -48,7 +48,7 @@ ExcludeArch: ppc Summary: 389 Directory Server (base) Name: 389-ds-base Version: 1.4.0.5 -Release: %{?relprefix}1%{?prerel}%{?dist}.2 +Release: %{?relprefix}1%{?prerel}%{?dist}.3 License: GPLv3+ URL: http://www.port389.org Group: System Environment/Daemons @@ -118,15 +118,15 @@ Requires: gperftools-libs %endif # this is needed for using semanage from our setup scripts -Requires: policycoreutils-python-utils +Requires: policycoreutils-python%{python3_pkgversion}-utils Requires: /usr/sbin/semanage -Requires: libsemanage-python +Requires: libsemanage-python%{python3_pkgversion} Requires: selinux-policy >= 3.13.1-137 # the following are needed for some of our scripts Requires: openldap-clients -Requires: python-ldap +Requires: python%{python3_pkgversion}-ldap # use_openldap assumes perl-Mozilla-LDAP is built with openldap support Requires: perl-Mozilla-LDAP @@ -596,6 +596,9 @@ fi %{python3_sitelib}/dirsrvtests* %changelog +* Wed Feb 14 2018 Christian Heimes - 1.4.0.5-1.3 +- Fix package requirements to use Python 3 packages for LDAP and SELinux + * Fri Feb 09 2018 Igor Gnatenko - 1.4.0.5-1.2 - Escape macros in %%changelog