diff --git a/.gitignore b/.gitignore index 4e33dbf..bdb00df 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/mysql-selinux-1.0.2.tar.gz +SOURCES/mysql-selinux-1.0.5.tar.gz diff --git a/.mysql-selinux.metadata b/.mysql-selinux.metadata index c7c1111..1b9eb4b 100644 --- a/.mysql-selinux.metadata +++ b/.mysql-selinux.metadata @@ -1 +1 @@ -d0a595b525b33994d0d53701f5f75ce981605870 SOURCES/mysql-selinux-1.0.2.tar.gz +076c8d312bfbdbf794f5a1a38795f15743a1d7f3 SOURCES/mysql-selinux-1.0.5.tar.gz diff --git a/SPECS/mysql-selinux.spec b/SPECS/mysql-selinux.spec index a947be0..5115c74 100644 --- a/SPECS/mysql-selinux.spec +++ b/SPECS/mysql-selinux.spec @@ -4,16 +4,17 @@ %global modulename mysql Name: mysql-selinux -Version: 1.0.2 -Release: 6%{?dist} +Version: 1.0.5 +Release: 1%{?dist} License: GPLv3 URL: https://github.com/devexp-db/mysql-selinux Summary: SELinux policy modules for MySQL and MariaDB packages -Source0: mysql-selinux-%{version}.tar.gz +Source0: https://github.com/devexp-db/mysql-selinux/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildArch: noarch +BuildRequires: make BuildRequires: selinux-policy-devel Requires(post): policycoreutils %{?selinux_requires} @@ -21,12 +22,10 @@ Requires(post): policycoreutils %description SELinux policy modules for MySQL and MariaDB packages. + %prep %setup -q -n %{name}-%{version} -%pre -%selinux_relabel_pre -s %{selinuxtype} - %build make @@ -35,7 +34,9 @@ make install -d %{buildroot}%{_datadir}/selinux/packages install -m 0644 %{modulename}.pp.bz2 %{buildroot}%{_datadir}/selinux/packages -%check + +%pre +%selinux_relabel_pre -s %{selinuxtype} %post %selinux_modules_install -s %{selinuxtype} %{_datadir}/selinux/packages/%{modulename}.pp.bz2 || : @@ -48,6 +49,7 @@ fi %posttrans %selinux_relabel_post -s %{selinuxtype} || : + %files %defattr(-,root,root,0755) %attr(0644,root,root) %{_datadir}/selinux/packages/%{modulename}.pp.bz2 @@ -55,6 +57,17 @@ fi %license COPYING %changelog +* Thu Jun 09 2022 Michal Schorm - 1.0.5-1 +- Rebase to 1.0.5 + +* Fri Mar 18 2022 Lukas Javorsky - 1.0.4-1 +- Rebase to 1.0.4 +- Unintentional removal of semicolon + +* Fri Mar 18 2022 Lukas Javorsky - 1.0.3-1 +- Rebase to 1.0.3 +- Remove setuid/setgid capabilities from mysqld_t type. + * Thu Jan 10 2022 Lukas Javorsky - 1.0.2-6 - Fix the gating.yaml file so it checks the correct tests