From 3a6ff615b7c146fa959bd17f0b35abf66fa90b49 Mon Sep 17 00:00:00 2001 From: cherry530 Date: Mon, 10 Jan 2022 14:17:30 +0800 Subject: [PATCH] Use policycoreutils-python3 instead of policycoreutils-python Signed-off-by: cherry530 (cherry picked from commit 099e8f120e6323c5bf1bb784682c86721dee50b0) --- memcached.spec | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/memcached.spec b/memcached.spec index b24ce5b..3abb7c9 100644 --- a/memcached.spec +++ b/memcached.spec @@ -7,7 +7,7 @@ Name: memcached Version: 1.6.12 -Release: 1 +Release: 2 Epoch: 0 Summary: A high-performance, distributed memory object caching system License: GPL-2.0+ @@ -46,7 +46,12 @@ access to the memcached binary include files. Summary: Selinux policy module License: GPLv2 BuildRequires: selinux-policy -%{?selinux_requires} +Requires: selinux-policy >= 35.5 +BuildRequires: selinux-policy-devel +Requires(post): selinux-policy-base >= 35.5 +Requires(post): libselinux-utils +Requires(post): policycoreutils +Requires(post): policycoreutils-python3 %description selinux Install memcached-selinux to ensure your system contains the latest SELinux policy @@ -139,6 +144,9 @@ fi %{_mandir}/man1/memcached.1* %changelog +* Mon Jan 10 2022 xu_ping - 0:1.6.12-2 +- Use policycoreutils-python3 to fix install failed + * Wed Dec 29 2021 baizhonggui - 0:1.6.12-1 - update to 1.6.12