Commit e146940a authored by Sergei Golubchik's avatar Sergei Golubchik

MDEV-31480 RPM packages fail to install because they require /bin/sh for %pretrans

workaround cmake bug #25044

https://gitlab.kitware.com/cmake/cmake/-/issues/25044
parent 67657a01
......@@ -106,6 +106,8 @@ SET(CPACK_RPM_SPEC_MORE_DEFINE "
%define restart_flag_dir %{_localstatedir}/lib/rpm-state/mariadb
%define restart_flag %{restart_flag_dir}/need-restart
%define pretrans %{nil}
%{?filter_setup:
%filter_provides_in \\\\.\\\\(test\\\\|result\\\\|h\\\\|cc\\\\|c\\\\|inc\\\\|opt\\\\|ic\\\\|cnf\\\\|rdiff\\\\|cpp\\\\)$
%filter_requires_in \\\\.\\\\(test\\\\|result\\\\|h\\\\|cc\\\\|c\\\\|inc\\\\|opt\\\\|ic\\\\|cnf\\\\|rdiff\\\\|cpp\\\\)$
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment