From 21bff8c1e0d982ee277a9bd17c56234dad5f9e70 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Sep 27 2022 10:51:47 +0000 Subject: import mysql-selinux-1.0.5-1.el9_0 --- diff --git a/.gitignore b/.gitignore index 347a548..bdb00df 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/mysql-selinux-1.0.4.tar.gz +SOURCES/mysql-selinux-1.0.5.tar.gz diff --git a/.mysql-selinux.metadata b/.mysql-selinux.metadata index 0bb48a7..1b9eb4b 100644 --- a/.mysql-selinux.metadata +++ b/.mysql-selinux.metadata @@ -1 +1 @@ -92d872599452815eb6ccc6c2af62b8f0af48a780 SOURCES/mysql-selinux-1.0.4.tar.gz +076c8d312bfbdbf794f5a1a38795f15743a1d7f3 SOURCES/mysql-selinux-1.0.5.tar.gz diff --git a/SPECS/mysql-selinux.spec b/SPECS/mysql-selinux.spec index d891bd3..e0cc365 100644 --- a/SPECS/mysql-selinux.spec +++ b/SPECS/mysql-selinux.spec @@ -4,17 +4,17 @@ %global modulename mysql Name: mysql-selinux -Version: 1.0.4 -Release: 2%{?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: make BuildRequires: selinux-policy-devel Requires(post): policycoreutils %{?selinux_requires} @@ -22,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 @@ -36,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 || : @@ -49,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 @@ -56,6 +57,9 @@ fi %license COPYING %changelog +* Thu Jun 09 2022 Michal Schorm - 1.0.5-1 +- Rebase to 1.0.5 + * Mon Aug 09 2021 Mohan Boddu - 1.0.4-2 - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags Related: rhbz#1991688