From 1525b6378294d570a64ee748876fc6410a6a83b7 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Thu, 16 Jun 2022 05:25:50 +0000 Subject: [PATCH] Auto sync2gitlab import of mysql-selinux-1.0.5-1.el8_6.src.rpm --- .gitignore | 1 + mysql-selinux.spec | 27 ++++++++++++++++++++------- sources | 2 +- 3 files changed, 22 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index e791f5d..a6d2963 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /mysql-selinux-1.0.2.tar.gz +/mysql-selinux-1.0.5.tar.gz diff --git a/mysql-selinux.spec b/mysql-selinux.spec index a947be0..5115c74 100644 --- a/mysql-selinux.spec +++ b/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 diff --git a/sources b/sources index 8bff39e..51160a7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mysql-selinux-1.0.2.tar.gz) = f3bea6ae7abec1cac42e91d71538933d69f6ef73c050e8a7e824333b7597914ed4ada0ff694bd46bb1828f9759de5ba455a38c4eced4f18c310e1f7fcee37dca +SHA512 (mysql-selinux-1.0.5.tar.gz) = e560914e1248fd2661f474ac4dfd14073807e6ae513292f80ba42276c47b14c6664d867a08850515d848549fcbc33e0d24d4fbb902475d9860d45c45f3140200