6 # enable all hardening build flags
7 export DEB_BUILD_MAINT_OPTIONS
=hardening
=+all
10 dh
$@
--with python3
--with-systemd
12 override_dh_auto_configure
:
13 intltoolize
--force --automake
14 dh_auto_configure
-- --disable-perl
19 override_dh_systemd_enable
:
20 dh_systemd_enable location-update.timer
24 # lintian: unknown-file-in-python-module-directory
25 rm debian
/location-python
/usr
/lib
/python3
*/site-packages
/_location.la
26 # linitan: binaries-have-file-conflict (d/location-importer.install)
27 rm debian
/location-python
/usr
/lib
/python3
*/site-packages
/location
/database.py
28 rm debian
/location-python
/usr
/lib
/python3
*/site-packages
/location
/importer.py