teknoraver / rpms / systemd

Forked from rpms/systemd 2 months ago
Clone

Blame SOURCES/0641-rpm-Add-misspelled-_environmentdir-macro-for-tempora.patch

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