summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/macros.systemd.in1
-rw-r--r--src/core/systemd.pc.in2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/core/macros.systemd.in b/src/core/macros.systemd.in
index 86e869307c..e521df337d 100644
--- a/src/core/macros.systemd.in
+++ b/src/core/macros.systemd.in
@@ -20,6 +20,7 @@
# RPM macros for packages installing systemd unit files
%_unitdir @systemunitdir@
+%_presetdir @systempresetdir@
%systemd_requires \
Requires(post): systemd \
diff --git a/src/core/systemd.pc.in b/src/core/systemd.pc.in
index 49f65b2a65..2f49d5df52 100644
--- a/src/core/systemd.pc.in
+++ b/src/core/systemd.pc.in
@@ -9,7 +9,9 @@ prefix=@prefix@
exec_prefix=@exec_prefix@
systemdutildir=@rootlibexecdir@
systemdsystemunitdir=@systemunitdir@
+systemdsystempresetdir=@systempresetdir@
systemduserunitdir=@userunitdir@
+systemduserpresetdir=@userpresetdir@
systemdsystemconfdir=@pkgsysconfdir@/system
systemduserconfdir=@pkgsysconfdir@/user
systemdsystemunitpath=${systemdsystemconfdir}:/etc/systemd/system:/run/systemd/system:/usr/local/lib/systemd/system:${systemdsystemunitdir}:/usr/lib/systemd/system:/lib/systemd/system