Disable plugins 'cracklib' and 'gssapi' by default
Related: #1468028, #1464070 Looks like the testsuite removes its 'var' content correctly, no need to do that explicitly.
This commit is contained in:
parent
93cc726551
commit
e2f0086f30
19
mariadb.spec
19
mariadb.spec
@ -122,11 +122,11 @@
|
|||||||
# Make long macros shorter
|
# Make long macros shorter
|
||||||
%global sameevr %{epoch}:%{version}-%{release}
|
%global sameevr %{epoch}:%{version}-%{release}
|
||||||
%global compatver 10.1
|
%global compatver 10.1
|
||||||
%global bugfixver 24
|
%global bugfixver 25
|
||||||
|
|
||||||
Name: mariadb
|
Name: mariadb
|
||||||
Version: %{compatver}.%{bugfixver}
|
Version: %{compatver}.%{bugfixver}
|
||||||
Release: 5%{?with_debug:.debug}%{?dist}
|
Release: 1%{?with_debug:.debug}%{?dist}
|
||||||
Epoch: 3
|
Epoch: 3
|
||||||
|
|
||||||
Summary: A community developed branch of MySQL
|
Summary: A community developed branch of MySQL
|
||||||
@ -913,6 +913,10 @@ chmod -x %{buildroot}%{_datadir}/sql-bench/myisam.cnf
|
|||||||
# Remove AppArmor files
|
# Remove AppArmor files
|
||||||
rm -r %{buildroot}%{_datadir}/%{pkg_name}/policy/apparmor
|
rm -r %{buildroot}%{_datadir}/%{pkg_name}/policy/apparmor
|
||||||
|
|
||||||
|
# Disable plugins
|
||||||
|
sed -i 's/^plugin-load-add/#plugin-load-add/' %{buildroot}%{_sysconfdir}/my.cnf.d/auth_gssapi.cnf
|
||||||
|
sed -i 's/^plugin-load-add/#plugin-load-add/' %{buildroot}%{_sysconfdir}/my.cnf.d/cracklib_password_check.cnf
|
||||||
|
|
||||||
%if %{without clibrary}
|
%if %{without clibrary}
|
||||||
unlink %{buildroot}%{_libdir}/mysql/libmysqlclient.so
|
unlink %{buildroot}%{_libdir}/mysql/libmysqlclient.so
|
||||||
unlink %{buildroot}%{_libdir}/mysql/libmysqlclient_r.so
|
unlink %{buildroot}%{_libdir}/mysql/libmysqlclient_r.so
|
||||||
@ -1024,10 +1028,8 @@ export MTR_BUILD_THREAD=%{__isa_bits}
|
|||||||
%else
|
%else
|
||||||
--skip-test-list=unstable-tests
|
--skip-test-list=unstable-tests
|
||||||
%endif
|
%endif
|
||||||
# cmake build scripts will install the var cruft if left alone :-(
|
|
||||||
# TODO: test again
|
|
||||||
rm -r var
|
|
||||||
)
|
)
|
||||||
|
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -1410,6 +1412,13 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jul 10 2017 Michal Schorm <mschorm@redhat.com> - 3:10.1.25-1
|
||||||
|
- Rebase to 10.1.25
|
||||||
|
- Disable plugins 'cracklib' and 'gssapi' by default
|
||||||
|
- Related: #1468028, #1464070
|
||||||
|
- Looks like the testsuite removes its 'var' content correctly,
|
||||||
|
no need to do that explicitly.
|
||||||
|
|
||||||
* Fri Jul 07 2017 Igor Gnatenko <ignatenko@redhat.com> - 3:10.1.24-5
|
* Fri Jul 07 2017 Igor Gnatenko <ignatenko@redhat.com> - 3:10.1.24-5
|
||||||
- Rebuild due to bug in RPM (RHBZ #1468476)
|
- Rebuild due to bug in RPM (RHBZ #1468476)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user