Also make sure posttrans does not fail.
This commit is contained in:
parent
4f4cd0648d
commit
3b6bf9fe8a
@ -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 <kevin@scrye.com> - 1.0.0-7
|
||||
- Also make sure posttrans does not fail.
|
||||
|
||||
* Thu Jan 10 2019 Kevin Fenzi <kevin@scrye.com> - 1.0.0-6
|
||||
- Add Requires(post) on policycoreutils for semodule and make sure post/postun cannot fail
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user