Also make sure posttrans does not fail.
This commit is contained in:
parent
4f4cd0648d
commit
3b6bf9fe8a
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
Name: mysql-selinux
|
Name: mysql-selinux
|
||||||
Version: 1.0.0
|
Version: 1.0.0
|
||||||
Release: 6%{?dist}
|
Release: 7%{?dist}
|
||||||
License: GPLv3
|
License: GPLv3
|
||||||
URL: https://github.com/kubco2/mysql-selinux
|
URL: https://github.com/kubco2/mysql-selinux
|
||||||
Summary: SELinux policies for product
|
Summary: SELinux policies for product
|
||||||
@ -43,7 +43,7 @@ if [ $1 -eq 0 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
%posttrans
|
%posttrans
|
||||||
%selinux_relabel_post -s %{selinuxtype}
|
%selinux_relabel_post -s %{selinuxtype} || :
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,0755)
|
%defattr(-,root,root,0755)
|
||||||
@ -52,6 +52,9 @@ fi
|
|||||||
%license COPYING
|
%license COPYING
|
||||||
|
|
||||||
%changelog
|
%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
|
* 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
|
- Add Requires(post) on policycoreutils for semodule and make sure post/postun cannot fail
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user