mirror of
https://github.com/MariaDB/server.git
synced 2025-10-12 12:25:37 +03:00
speedup RPM builds
Filter out most common file types from automatic dependency collection. This makes `make package` in centos73 VM three times faster
This commit is contained in:
@@ -69,6 +69,8 @@ SET(CPACK_RPM_SPEC_MORE_DEFINE "
|
||||
%define _sysconfdir ${INSTALL_SYSCONFDIR}
|
||||
|
||||
%{?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\\\\)$
|
||||
%filter_from_provides /perl(\\\\(mtr\\\\|My::\\\\)/d
|
||||
%filter_from_requires /\\\\(lib\\\\(ft\\\\|lzma\\\\|tokuportability\\\\)\\\\)\\\\|\\\\(perl(\\\\(.*mtr\\\\|My::\\\\|.*HandlerSocket\\\\|Mysql\\\\)\\\\)/d
|
||||
%filter_setup
|
||||
|
Reference in New Issue
Block a user