]> git.ipfire.org Git - thirdparty/systemd.git/commit
rpm: expose $systemd_util_dir also as rpm macro
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 15 Jan 2021 09:31:00 +0000 (10:31 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Fri, 15 Jan 2021 19:54:43 +0000 (19:54 +0000)
commit3bc66bfa0136e370a8f7b06c3b69a52f5636ef82
treed0742df02c7327e395fcb2ff94ffc7c4cfb0c669
parent01371e2cd8eea33ba3bcd131ad73189b3d938694
rpm: expose $systemd_util_dir also as rpm macro

This variable (a.k.a. rootlibexecdir), was exposed through the .pc file, but
not as rpm macro.

The .pc file must be located in the package that provides libraries, which
pulls in a lot of dependencies. In Fedora, the macros are split out to a
separate package so that other packages which need to refer to some systemd
path but don't otherwise require it, can only pull in the (much smaller and
dependency-less) macros package. zram-generator uses the path to specify the
location of systemd-makefs, so by using the rpm macro we'll be able to use
a much smaller buildroot.
src/core/macros.systemd.in