Auto sync2gitlab import of mysql-selinux-1.0.5-1.el8_6.src.rpm

This commit is contained in:
CentOS Sources 2023-01-15 11:11:10 +00:00
parent d1b7e1bf12
commit b64fd41c0b
2 changed files with 21 additions and 8 deletions

View File

@ -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 <mschorm@redhat.com> - 1.0.5-1
- Rebase to 1.0.5
* Fri Mar 18 2022 Lukas Javorsky <ljavorsk@redhat.com> - 1.0.4-1
- Rebase to 1.0.4
- Unintentional removal of semicolon
* Fri Mar 18 2022 Lukas Javorsky <ljavorsk@redhat.com> - 1.0.3-1
- Rebase to 1.0.3
- Remove setuid/setgid capabilities from mysqld_t type.
* Thu Jan 10 2022 Lukas Javorsky <ljavorsk@redhat.com> - 1.0.2-6
- Fix the gating.yaml file so it checks the correct tests

View File

@ -1 +1 @@
SHA512 (mysql-selinux-1.0.2.tar.gz) = f3bea6ae7abec1cac42e91d71538933d69f6ef73c050e8a7e824333b7597914ed4ada0ff694bd46bb1828f9759de5ba455a38c4eced4f18c310e1f7fcee37dca
SHA512 (mysql-selinux-1.0.5.tar.gz) = e560914e1248fd2661f474ac4dfd14073807e6ae513292f80ba42276c47b14c6664d867a08850515d848549fcbc33e0d24d4fbb902475d9860d45c45f3140200