mod for buster

This commit is contained in:
geos_one
2025-08-13 15:25:25 +02:00
parent 026320aeb4
commit 1034631025
2 changed files with 4 additions and 4 deletions

4
debian/rules vendored
View File

@@ -20,13 +20,12 @@ DESTDIR=$(CURDIR)/debian/tmp
export PYTHON=python3
export am_cv_python_pythondir=/usr/lib/python3/dist-packages
export am_cv_python_pyexecdir=/usr/lib/python3/dist-packages
#export systemdsystemunitdir=$(shell pkgconf --variable=systemdsystemunitdir systemd | sed s,^/,,)
# Detect systemd unit dir with fallback
systemdsystemunitdir := $(shell pkgconf --variable=systemdsystemunitdir systemd 2>/dev/null | sed 's,^/,,')
ifeq ($(systemdsystemunitdir),)
systemdsystemunitdir := lib/systemd/system
endif
export systemdsystemunitdir
confflags = \
@@ -132,6 +131,7 @@ override_dh_fixperms:
fi
override_dh_gencontrol:
echo "systemdsystemunitdir=$(systemdsystemunitdir)" >> debian/substvars
dh_gencontrol -- \
-Vlib:Depends=$(shell dpkg-query -W -f '$${Depends}' librpm-dev \
| sed -E 's/.*(librpm[[:alnum:].-]+).*/\1/')