summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2019-03-29 22:06:24 +0100
committerSergei Golubchik <serg@mariadb.org>2019-04-02 18:22:37 +0200
commit0b2042fdca28eb6a9d58eaef96e6e6fe5ae359aa (patch)
tree7a2f28a72021b6cf71c350bfc86bf41291ea4a3c /cmake
parentb88f3786484e22759c8402494b8b9cc1e7a1cc46 (diff)
downloadmariadb-git-0b2042fdca28eb6a9d58eaef96e6e6fe5ae359aa.tar.gz
speedup RPM builds
Filter out most common file types from automatic dependency collection. This makes `make package` in centos73 VM three times faster
Diffstat (limited to 'cmake')
-rw-r--r--cmake/cpack_rpm.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/cpack_rpm.cmake b/cmake/cpack_rpm.cmake
index bfc06d52efe..02886ef6a65 100644
--- a/cmake/cpack_rpm.cmake
+++ b/cmake/cpack_rpm.cmake
@@ -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