2 export RPM_BUILD_ROOT=${D}
14 BINDIR=${prefix}/bin \
16 rm -f ${D}${infodir}/dir
17 find ${D} -regex ".*\.la$" | xargs rm -f --
18 find ${D} -regex ".*\.a$" | xargs rm -f --
20 mkdir -p ${D}/${systemd_unitdir}/system/network.target.wants
21 ln -s ../ofono.service ${D}/${systemd_unitdir}/system/network.target.wants/ofono.service
22 mkdir -p ${D}/${systemd_unitdir}/system/multi-user.target.wants
23 ln -s ../ofono.service ${D}/${systemd_unitdir}/system/multi-user.target.wants/ofono.service
30 # Because python3-dbus module is currently not there, just use
31 # python 2.x in the ofono test scripts
32 for PYTHSCRIPT in `grep -rIl ${bindir}/python3 ${D}${libdir}/${PN}`; do
33 sed -i -e '1s|^#!.*|#!/usr/bin/env python|' $PYTHSCRIPT