From 449842b69a01d9c6cefc957c75fa0212f3ce6f01 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Wed, 5 Apr 2023 17:47:40 +0300 Subject: [PATCH] import rhc-0.2.1-10.el9_1 --- SPECS/rhc.spec | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/SPECS/rhc.spec b/SPECS/rhc.spec index c4e0d4d..056d3c7 100644 --- a/SPECS/rhc.spec +++ b/SPECS/rhc.spec @@ -8,7 +8,7 @@ Name: rhc Version: 0.2.1 -Release: 9%{?dist} +Release: 10%{?dist} Epoch: 1 Summary: rhc connects the system to Red Hat hosted services License: GPLv3 @@ -29,6 +29,8 @@ ExclusiveArch: %{go_arches} Recommends: insights-client +Requires(post): policycoreutils-python-utils + BuildRequires: git BuildRequires: golang BuildRequires: go-rpm-macros @@ -114,6 +116,16 @@ make %{makeflags} \ install +%post +/usr/sbin/semanage permissive --add rhcd_t || true + + +%postun +if [ $1 -eq 0 ]; then + /usr/sbin/semanage permissive --delete rhcd_t || true +fi + + %files %doc %{name}-%{version}/README.md yggdrasil-%{yggdrasil_ver}/doc/tags.toml %{_bindir}/%{name} @@ -134,6 +146,9 @@ make %{makeflags} \ * Wed Mar 15 2023 MSVSphere Packaging Team - 0.2.1-9 - Rebuilt for MSVSphere 9.1. +* Thu Nov 10 2022 Link Dupont - 0.2.1-10 +- Set SELinux policy to permissive for rhcd_t module (RHBZ#2141445) + * Fri Jun 03 2022 Link Dupont - 0.2.1-9 - Correct config file installation name (RHBZ#2082689)