import mysql-selinux-1.0.5-1.el9_0
This commit is contained in:
parent
7762d47d1e
commit
a93dadb857
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
SOURCES/mysql-selinux-1.0.4.tar.gz
|
||||
SOURCES/mysql-selinux-1.0.5.tar.gz
|
||||
|
@ -1 +1 @@
|
||||
92d872599452815eb6ccc6c2af62b8f0af48a780 SOURCES/mysql-selinux-1.0.4.tar.gz
|
||||
076c8d312bfbdbf794f5a1a38795f15743a1d7f3 SOURCES/mysql-selinux-1.0.5.tar.gz
|
||||
|
@ -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 <mschorm@redhat.com> - 1.0.5-1
|
||||
- Rebase to 1.0.5
|
||||
|
||||
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.0.4-2
|
||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||
Related: rhbz#1991688
|
||||
|
Loading…
Reference in New Issue
Block a user