Deb: delete runnable files we don't want to have in the test data package

This commit is contained in:
Otto Kekäläinen 2016-10-29 02:17:14 +03:00
commit 02a6f61a8a

5
debian/rules vendored
View file

@ -132,6 +132,11 @@ override_dh_auto_install:
# make install
cd $(BUILDDIR) && $(MAKE) install DESTDIR=$(TMP)
# Delete runnable files we don't want to have in the test data package.
# This avoids triggering multiple Lintian errors.
rm -rf $(TMP)/usr/share/mysql/mysql-test/plugin/tokudb/tokudb/*.py
rm -rf $(TMP)/usr/share/mysql/mysql-test/plugin/tokudb/tokudb/t/*.py
# nm numeric soft is not enough, therefore extra sort in command
# to satisfy Debian reproducible build requirements
nm --defined-only $(BUILDDIR)/sql/mysqld | LC_ALL=C sort | gzip -n -9 > $(TMP)/usr/share/doc/mariadb-server-10.2/mysqld.sym.gz