Auto sync2gitlab import of mysql-selinux-1.0.2-6.el8.src.rpm

This commit is contained in:
James Antill 2022-06-29 14:07:44 -04:00
parent 1525b63782
commit d1b7e1bf12
2 changed files with 8 additions and 21 deletions

View File

@ -4,17 +4,16 @@
%global modulename mysql %global modulename mysql
Name: mysql-selinux Name: mysql-selinux
Version: 1.0.5 Version: 1.0.2
Release: 1%{?dist} Release: 6%{?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: https://github.com/devexp-db/mysql-selinux/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz Source0: mysql-selinux-%{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}
@ -22,10 +21,12 @@ 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
@ -34,9 +35,7 @@ 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,7 +48,6 @@ 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
@ -57,17 +55,6 @@ 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

View File

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