Added reasons in comments to removed files section.
Based on a question asked on the usptream mailing list: https://lists.launchpad.net/maria-developers/msg11028.html
This commit is contained in:
parent
c9863fb5fe
commit
6823344deb
32
mariadb.spec
32
mariadb.spec
@ -404,6 +404,8 @@ Recommends: %{name}-gssapi-server%{?_isa} = %{sameevr}
|
|||||||
Recommends: %{name}-rocksdb-engine%{?_isa} = %{sameevr}
|
Recommends: %{name}-rocksdb-engine%{?_isa} = %{sameevr}
|
||||||
Recommends: %{name}-tokudb-engine%{?_isa} = %{sameevr}
|
Recommends: %{name}-tokudb-engine%{?_isa} = %{sameevr}
|
||||||
|
|
||||||
|
Suggests: mytop
|
||||||
|
|
||||||
Requires: %{_sysconfdir}/my.cnf
|
Requires: %{_sysconfdir}/my.cnf
|
||||||
Requires: %{_sysconfdir}/my.cnf.d
|
Requires: %{_sysconfdir}/my.cnf.d
|
||||||
|
|
||||||
@ -955,21 +957,29 @@ ln -s ../../../../../bin/my_safe_process %{buildroot}%{_datadir}/mysql-test/lib/
|
|||||||
ln -s unstable-tests %{buildroot}%{_datadir}/mysql-test/rh-skipped-tests.list
|
ln -s unstable-tests %{buildroot}%{_datadir}/mysql-test/rh-skipped-tests.list
|
||||||
|
|
||||||
|
|
||||||
# should move this to /etc/ ?
|
|
||||||
# WHY??
|
|
||||||
%{?with_embedded:rm %{buildroot}%{_bindir}/mysql_embedded} #upstream ships in client
|
|
||||||
|
|
||||||
|
# Client that uses libmysqld embedded server.
|
||||||
|
# Pretty much like normal mysql command line client, but it doesn't require a running mariadb server.
|
||||||
|
%{?with_embedded:rm %{buildroot}%{_bindir}/mysql_embedded}
|
||||||
|
# Static libraries
|
||||||
rm %{buildroot}%{_libdir}/*.a
|
rm %{buildroot}%{_libdir}/*.a
|
||||||
rm %{buildroot}%{_datadir}/%{pkg_name}/binary-configure #This script creates the MySQL system tables and starts the server.
|
# This script creates the MySQL system tables and starts the server.
|
||||||
|
# Upstream says:
|
||||||
|
# It looks like it's just "mysql_install_db && mysqld_safe"
|
||||||
|
# I've never heard of anyone using it, I'd say, no need to pack it.
|
||||||
|
rm %{buildroot}%{_datadir}/%{pkg_name}/binary-configure
|
||||||
|
# FS files first-bytes recoginiton
|
||||||
|
# Not updated by upstream since nobody realy use that
|
||||||
|
rm %{buildroot}%{_datadir}/%{pkg_name}/magic
|
||||||
|
|
||||||
# WHY??
|
# Upstream ships them because of, https://jira.mariadb.org/browse/MDEV-10797
|
||||||
rm %{buildroot}%{_datadir}/%{pkg_name}/magic #FS files first-bytes recoginiton?
|
# In Fedora we use our own systemd unit files and scripts
|
||||||
|
rm %{buildroot}%{_datadir}/%{pkg_name}/mysql.server
|
||||||
|
rm %{buildroot}%{_datadir}/%{pkg_name}/mysqld_multi.server
|
||||||
|
|
||||||
rm %{buildroot}%{_datadir}/%{pkg_name}/mysql.server #Usage: mysql.server {start|stop|restart|reload|force-reload|status|configtest|bootstrap} [ MySQL server options ]
|
# Binary for monitoring MySQL performance
|
||||||
rm %{buildroot}%{_datadir}/%{pkg_name}/mysqld_multi.server #Can't execute /usr/local/mysql/bin/mysqld_multi from dir /usr/local/mysql
|
# Shipped as a standalona package in Fedora
|
||||||
|
rm %{buildroot}%{_bindir}/mytop
|
||||||
# WHY??
|
|
||||||
rm %{buildroot}%{_bindir}/mytop #not shipped by upstream
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user