From 3b6bf9fe8a05f1560f40bb87dfea0a7f1441504a Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Jan 11 2019 17:19:40 +0000 Subject: Also make sure posttrans does not fail. --- diff --git a/mysql-selinux.spec b/mysql-selinux.spec index afbf8a0..7fece6e 100644 --- a/mysql-selinux.spec +++ b/mysql-selinux.spec @@ -5,7 +5,7 @@ Name: mysql-selinux Version: 1.0.0 -Release: 6%{?dist} +Release: 7%{?dist} License: GPLv3 URL: https://github.com/kubco2/mysql-selinux Summary: SELinux policies for product @@ -43,7 +43,7 @@ if [ $1 -eq 0 ]; then fi %posttrans -%selinux_relabel_post -s %{selinuxtype} +%selinux_relabel_post -s %{selinuxtype} || : %files %defattr(-,root,root,0755) @@ -52,6 +52,9 @@ fi %license COPYING %changelog +* Fri Jan 11 2019 Kevin Fenzi - 1.0.0-7 +- Also make sure posttrans does not fail. + * Thu Jan 10 2019 Kevin Fenzi - 1.0.0-6 - Add Requires(post) on policycoreutils for semodule and make sure post/postun cannot fail