import mysql-selinux-1.0.5-1.el9_0
This commit is contained in:
parent
2bc5734752
commit
cd380851c4
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
|
%global modulename mysql
|
||||||
|
|
||||||
Name: mysql-selinux
|
Name: mysql-selinux
|
||||||
Version: 1.0.4
|
Version: 1.0.5
|
||||||
Release: 2%{?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: make
|
||||||
BuildRequires: selinux-policy-devel
|
BuildRequires: selinux-policy-devel
|
||||||
Requires(post): policycoreutils
|
Requires(post): policycoreutils
|
||||||
%{?selinux_requires}
|
%{?selinux_requires}
|
||||||
@ -22,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
|
||||||
|
|
||||||
@ -36,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 || :
|
||||||
@ -49,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
|
||||||
@ -56,6 +57,9 @@ 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
|
||||||
|
|
||||||
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.0.4-2
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.0.4-2
|
||||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||||
Related: rhbz#1991688
|
Related: rhbz#1991688
|
||||||
|
Loading…
Reference in New Issue
Block a user