From 786974b8e92f4a6146f43a626eafb52f7755cd9b Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 28 Jul 2025 16:36:37 +0200 Subject: update selinux module --- memcached.spec | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/memcached.spec b/memcached.spec index 90a2b5e..ad1a6cc 100644 --- a/memcached.spec +++ b/memcached.spec @@ -25,7 +25,7 @@ %global selinuxtype targeted %global selinuxmoduletype contrib %global selinuxmodulename memcached -%global selinuxmodulever 1.0.2 +%global selinuxmodulever 1.0.3 %global selinuxmoduledir %{selinuxmodulename}-selinux-%{selinuxmodulever} Name: memcached @@ -39,7 +39,7 @@ URL: https://www.memcached.org/ Source0: https://www.memcached.org/files/%{name}-%{version}.tar.gz Source1: memcached.sysconfig # SELinux policy sources: https://pagure.io/memcached-selinux/tree/master -Source2: https://releases.pagure.org/memcached-selinux/memcached-selinux-1.0.2.tar.gz +Source2: https://pagure.io/memcached-selinux/blob/master/f/memcached-selinux-%{selinuxmodulever}.tar.gz # systemd users Source3: memcached.conf # custom unit file (EL-7) @@ -83,10 +83,13 @@ Provides: bundled(mcmc) %if %{with selinux} %package selinux -Summary: Selinux policy module -License: GPL-2.0-only -BuildRequires: selinux-policy -%{?selinux_requires} +Summary: Selinux policy module +License: GPL-2.0-only +BuildArch: noarch +BuildRequires: selinux-policy-devel +Requires: %{name} = %{version}-%{release} +Requires: selinux-policy-%{selinuxtype} +Requires(post): selinux-policy-%{selinuxtype} %description selinux Install memcached-selinux to ensure your system contains the latest SELinux policy -- cgit