Commit 52556936 authored by Michal Nowikowski's avatar Michal Nowikowski

fixed packaging kea-shell in case of deb

parent 956f5f12
usr/lib/python3.*/site-packages/kea/kea_conn.py
usr/lib/python3.*/site-packages/kea/kea_connector3.py
usr/lib/python3/dist-packages/kea/kea_conn.py
usr/lib/python3/dist-packages/kea/kea_connector3.py
......@@ -6,12 +6,15 @@
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk
# see FEATURE AREAS in dpkg-buildflags(1)
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
my_site_packages=$(shell python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")
%:
dh $@ --with python3 --parallel -X.la -B
......@@ -34,7 +37,8 @@ override_dh_auto_configure:
--disable-static \
--disable-rpath \
--disable-dependency-tracking \
--without-werror
--without-werror \
--with-site-packages=$(my_site_packages)
override_dh_auto_make:
$(MAKE) -C tools system_messages
......@@ -55,13 +59,13 @@ override_dh_auto_install:
debian/tmp/usr/share/doc/kea/AUTHORS \
debian/tmp/usr/share/doc/kea/COPYING \
debian/tmp/usr/share/man/man8/keactrl.8 \
debian/tmp/usr/lib/python3.*/site-packages/kea/__pycache__/*.pyc \
debian/tmp/usr/lib/python3.*/site-packages/kea/__pycache__/*.pyo \
debian/tmp/usr/lib/python3.*/site-packages/kea/kea_connector2.py \
debian/tmp/usr/lib/python3/dist-packages/kea/__pycache__/*.pyc \
debian/tmp/usr/lib/python3/dist-packages/kea/__pycache__/*.pyo \
debian/tmp/usr/lib/python3/dist-packages/kea/kea_connector2.py \
debian/tmp/etc/kea/keactrl.conf \
debian/tmp/usr/sbin/keactrl \
debian/tmp/usr/share/man/man8/kea-netconf.8
-sed -i -e s/\"output\".*/\"output\":\ \"stdout\"/ \
-sed -i -e s/\"output\".*/\"output\":\ \"stdout\",/ -e s@\/\/\ \"pattern@\"pattern@ \
debian/tmp/etc/kea/kea-ctrl-agent.conf \
debian/tmp/etc/kea/kea-dhcp6.conf \
debian/tmp/etc/kea/kea-dhcp4.conf \
......
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