diff --git a/policycoreutils.spec b/policycoreutils.spec index 806cef00beab8f55f73fe6d8bf15e954ffea1270..e62199f3678f1b55a19ab6bd46ec26b88362ecef 100644 --- a/policycoreutils.spec +++ b/policycoreutils.spec @@ -3,7 +3,7 @@ Name: policycoreutils Version: 3.1 -Release: 3 +Release: 4 Summary: Policy core utilities of selinux License: GPLv2 URL: https://github.com/SELinuxProject @@ -19,10 +19,10 @@ Source9: selinux-autorelabel-mark.service Source10: selinux-autorelabel.target Source11: selinux-autorelabel-generator.sh -BuildRequires: pam-devel libsepol-static libsemanage-static libselinux-devel libcap-devel audit-libs-devel gettext +BuildRequires: pam-devel libsepol-static >= 3.1 libsemanage-static libselinux-devel libcap-devel audit-libs-devel gettext BuildRequires: desktop-file-utils dbus-devel dbus-glib-devel python3-devel libcap-ng-devel BuildRequires: systemd systemd-units -Requires: libsepol libselinux-utils util-linux grep gawk diffutils rpm sed coreutils +Requires: libsepol >= 3.1 libselinux-utils util-linux grep gawk diffutils rpm sed coreutils Provides: %{name}-restorecond = %{version}-%{release} Obsoletes: %{name}-restorecond < %{version}-%{release} @@ -261,6 +261,9 @@ find %{buildroot}%{python3_sitelib} %{buildroot}%{python3_sitearch} \ %{_mandir}/* %changelog +* Mon Nov 30 2020 openEuler Buildteam - 3.1-4 +- add version require of libsepol + * Mon Nov 2 2020 yixiangzhike - 3.1-3 - add selinux-autorelabel-mark.service to systemd_preun and systemd_post