mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
Put back SELinux files
This commit is contained in:
parent
17206900a0
commit
e32c256287
1 changed files with 5 additions and 0 deletions
|
@ -442,6 +442,7 @@ MBD=$RPM_BUILD_DIR/%{src_dir}
|
|||
install -d $RBR%{_sysconfdir}/{logrotate.d,init.d}
|
||||
install -d $RBR%{mysqldatadir}/mysql
|
||||
install -d $RBR%{_datadir}/mysql-test
|
||||
install -d $RBR%{_datadir}/mysql/SELinux/RHEL4
|
||||
install -d $RBR%{_includedir}
|
||||
install -d $RBR%{_libdir}
|
||||
install -d $RBR%{_mandir}
|
||||
|
@ -470,6 +471,10 @@ ln -s %{_sysconfdir}/init.d/mysql $RBR%{_sbindir}/rcmysql
|
|||
# Just to make sure it's in the file list and marked as a config file
|
||||
touch $RBR%{_sysconfdir}/my.cnf
|
||||
|
||||
# Install SELinux files in datadir
|
||||
install -m 600 $MBD/support-files/RHEL4-SElinux/mysql.{fc,te} \
|
||||
$RBR%{_datadir}/mysql/SELinux/RHEL4
|
||||
|
||||
%if %{WITH_TCMALLOC}
|
||||
# Even though this is a shared library, put it under /usr/lib*/mysql, so it
|
||||
# doesn't conflict with possible shared lib by the same name in /usr/lib*. See
|
||||
|
|
Loading…
Reference in a new issue