naccyde / rpms / systemd

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