import mysql-selinux-1.0.5-1.el8_6
This commit is contained in:
parent
f97fde867c
commit
2c783e3491
|
@ -1 +1 @@
|
||||||
SOURCES/mysql-selinux-1.0.2.tar.gz
|
SOURCES/mysql-selinux-1.0.5.tar.gz
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
d0a595b525b33994d0d53701f5f75ce981605870 SOURCES/mysql-selinux-1.0.2.tar.gz
|
076c8d312bfbdbf794f5a1a38795f15743a1d7f3 SOURCES/mysql-selinux-1.0.5.tar.gz
|
||||||
|
|
|
@ -4,16 +4,17 @@
|
||||||
%global modulename mysql
|
%global modulename mysql
|
||||||
|
|
||||||
Name: mysql-selinux
|
Name: mysql-selinux
|
||||||
Version: 1.0.2
|
Version: 1.0.5
|
||||||
Release: 6%{?dist}
|
Release: 1%{?dist}
|
||||||
|
|
||||||
License: GPLv3
|
License: GPLv3
|
||||||
URL: https://github.com/devexp-db/mysql-selinux
|
URL: https://github.com/devexp-db/mysql-selinux
|
||||||
Summary: SELinux policy modules for MySQL and MariaDB packages
|
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
|
BuildArch: noarch
|
||||||
|
BuildRequires: make
|
||||||
BuildRequires: selinux-policy-devel
|
BuildRequires: selinux-policy-devel
|
||||||
Requires(post): policycoreutils
|
Requires(post): policycoreutils
|
||||||
%{?selinux_requires}
|
%{?selinux_requires}
|
||||||
|
@ -21,12 +22,10 @@ Requires(post): policycoreutils
|
||||||
%description
|
%description
|
||||||
SELinux policy modules for MySQL and MariaDB packages.
|
SELinux policy modules for MySQL and MariaDB packages.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}
|
%setup -q -n %{name}-%{version}
|
||||||
|
|
||||||
%pre
|
|
||||||
%selinux_relabel_pre -s %{selinuxtype}
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make
|
make
|
||||||
|
|
||||||
|
@ -35,7 +34,9 @@ make
|
||||||
install -d %{buildroot}%{_datadir}/selinux/packages
|
install -d %{buildroot}%{_datadir}/selinux/packages
|
||||||
install -m 0644 %{modulename}.pp.bz2 %{buildroot}%{_datadir}/selinux/packages
|
install -m 0644 %{modulename}.pp.bz2 %{buildroot}%{_datadir}/selinux/packages
|
||||||
|
|
||||||
%check
|
|
||||||
|
%pre
|
||||||
|
%selinux_relabel_pre -s %{selinuxtype}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%selinux_modules_install -s %{selinuxtype} %{_datadir}/selinux/packages/%{modulename}.pp.bz2 || :
|
%selinux_modules_install -s %{selinuxtype} %{_datadir}/selinux/packages/%{modulename}.pp.bz2 || :
|
||||||
|
@ -48,6 +49,7 @@ fi
|
||||||
%posttrans
|
%posttrans
|
||||||
%selinux_relabel_post -s %{selinuxtype} || :
|
%selinux_relabel_post -s %{selinuxtype} || :
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,0755)
|
%defattr(-,root,root,0755)
|
||||||
%attr(0644,root,root) %{_datadir}/selinux/packages/%{modulename}.pp.bz2
|
%attr(0644,root,root) %{_datadir}/selinux/packages/%{modulename}.pp.bz2
|
||||||
|
@ -55,6 +57,17 @@ fi
|
||||||
%license COPYING
|
%license COPYING
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Jan 10 2022 Lukas Javorsky <ljavorsk@redhat.com> - 1.0.2-6
|
||||||
- Fix the gating.yaml file so it checks the correct tests
|
- Fix the gating.yaml file so it checks the correct tests
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue