Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add TA arm64 support for PS 8.4.0 #5367

Merged
merged 1 commit into from
Aug 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 2 additions & 11 deletions build-ps/percona-server.spec
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,11 @@

%ifarch x86_64
%global __isa_bits 64
%endif

%if 0%{?rhel} >= 8
%global ps_telemetry /usr/local/percona/telemetry/ps
%endif
%endif

%global src_dir %{src_base}-%{mysql_version}-%{percona_server_version}

Expand Down Expand Up @@ -249,11 +250,9 @@ Requires: percona-server-client
Requires: percona-icu-data-files
Requires: curl
Requires: openssl
%ifarch x86_64
%if 0%{?rhel} >= 8
Requires: percona-telemetry-agent
%endif
%endif
Obsoletes: community-mysql-bench
Obsoletes: mysql-bench
Obsoletes: mariadb-connector-c-config
Expand Down Expand Up @@ -770,7 +769,6 @@ fi
fi
%endif

%ifarch x86_64
%if 0%{?rhel} >= 8
mkdir -p %{ps_telemetry}
chown mysql:percona-telemetry %{ps_telemetry}
Expand All @@ -780,7 +778,6 @@ chmod u+s %{ps_telemetry}
chcon -t mysqld_db_t %{ps_telemetry}
chcon -u system_u %{ps_telemetry}
%endif
%endif

if [ -d /etc/percona-server.conf.d ]; then
CONF_EXISTS=$(grep "percona-server.conf.d" /etc/my.cnf | wc -l)
Expand Down Expand Up @@ -827,11 +824,9 @@ fi
/sbin/service mysql condrestart >/dev/null 2>&1 || :
fi
%endif
%ifarch x86_64
%if 0%{?rhel} >= 8
rm -rf %{ps_telemetry}
%endif
%endif

%posttrans -n percona-server-server
if [ -d %{_datadir}/mysql ] && [ ! -L %{_datadir}/mysql ]; then
Expand Down Expand Up @@ -1099,11 +1094,9 @@ fi
%attr(755, root, root) %{_libdir}/mysql/plugin/component_validate_password.so
%attr(755, root, root) %{_libdir}/mysql/plugin/component_audit_api_message_emit.so
%attr(755, root, root) %{_libdir}/mysql/plugin/component_query_attributes.so
%ifarch x86_64
%if 0%{?rhel} >= 8
%attr(755, root, root) %{_libdir}/mysql/plugin/component_percona_telemetry.so
%endif
%endif
%attr(755, root, root) %{_libdir}/mysql/plugin/connection_control.so
%attr(755, root, root) %{_libdir}/mysql/plugin/ddl_rewriter.so
%attr(755, root, root) %{_libdir}/mysql/plugin/ha_example.so
Expand Down Expand Up @@ -1158,11 +1151,9 @@ fi
%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_validate_password.so
%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_audit_api_message_emit.so
%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_query_attributes.so
%ifarch x86_64
%if 0%{?rhel} >= 8
%attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_percona_telemetry.so
%endif
%endif
%attr(755, root, root) %{_libdir}/mysql/plugin/debug/connection_control.so
%attr(755, root, root) %{_libdir}/mysql/plugin/debug/ddl_rewriter.so
%attr(755, root, root) %{_libdir}/mysql/plugin/debug/ha_example.so
Expand Down
Loading