summaryrefslogtreecommitdiff
path: root/src/core/macros.systemd.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/macros.systemd.in')
-rw-r--r--src/core/macros.systemd.in8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/core/macros.systemd.in b/src/core/macros.systemd.in
index f3b74f4273..9ccad5ebfe 100644
--- a/src/core/macros.systemd.in
+++ b/src/core/macros.systemd.in
@@ -2,8 +2,6 @@
# SPDX-License-Identifier: LGPL-2.1+
#
# This file is part of systemd.
-#
-# Copyright 2012 Lennart Poettering
# RPM macros for packages installing systemd unit files
@@ -18,7 +16,7 @@
%_sysctldir @sysctldir@
%_sysusersdir @sysusersdir@
%_tmpfilesdir @tmpfilesdir@
-%_environmnentdir @environmentdir@
+%_environmentdir @environmentdir@
%_modulesloaddir @modulesloaddir@
%_modprobedir @modprobedir@
%_systemdgeneratordir @systemgeneratordir@
@@ -26,6 +24,10 @@
%_systemd_system_env_generator_dir @systemenvgeneratordir@
%_systemd_user_env_generator_dir @userenvgeneratordir@
+# Because we had one release with a typo...
+# This is temporary (Remove after systemd 240 is released)
+%_environmnentdir %{warn:Use %%_environmentdir instead}%_environmentdir
+
%systemd_requires \
Requires(post): systemd \
Requires(preun): systemd \