17aa40
From 7b2d5268cf43a4ed7847bdbed2328bccddd5a716 Mon Sep 17 00:00:00 2001
17aa40
From: Neal Gompa <ngompa13@gmail.com>
17aa40
Date: Tue, 26 Jun 2018 07:42:29 -0400
17aa40
Subject: [PATCH] rpm: Add misspelled %_environmentdir macro for temporary
17aa40
 compatibility
17aa40
17aa40
This should be removed after systemd 240 is released.
17aa40
17aa40
Signed-off-by: Neal Gompa <ngompa13@gmail.com>
17aa40
(cherry picked from commit a6bb5504583e3267d35fa385fe20f60fd998ca5d)
17aa40
Related: #2018024
17aa40
---
17aa40
 src/core/macros.systemd.in | 4 ++++
17aa40
 1 file changed, 4 insertions(+)
17aa40
17aa40
diff --git a/src/core/macros.systemd.in b/src/core/macros.systemd.in
17aa40
index a24d7bbe58..abbb42b22f 100644
17aa40
--- a/src/core/macros.systemd.in
17aa40
+++ b/src/core/macros.systemd.in
17aa40
@@ -26,6 +26,10 @@
17aa40
 %_systemd_system_env_generator_dir @systemenvgeneratordir@
17aa40
 %_systemd_user_env_generator_dir @userenvgeneratordir@
17aa40
 
17aa40
+# Because we had one release with a typo...
17aa40
+# This is temporary (Remove after systemd 240 is released)
17aa40
+%_environmnentdir %_environmentdir
17aa40
+
17aa40
 %systemd_requires \
17aa40
 Requires(post): systemd \
17aa40
 Requires(preun): systemd \