From 5c081a8e2cb6cadafee9914b23774ad4d74d462d Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 24 Oct 2019 12:16:17 -0400 Subject: [PATCH] Remove SYSV init script from RPM packages All supported RPM distros are systemd now... --- confluent_server/confluent_server.spec.tmpl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/confluent_server/confluent_server.spec.tmpl b/confluent_server/confluent_server.spec.tmpl index 3f5ff42c..a9334d6a 100644 --- a/confluent_server/confluent_server.spec.tmpl +++ b/confluent_server/confluent_server.spec.tmpl @@ -42,7 +42,10 @@ python2 setup.py install --single-version-externally-managed -O1 --root=$RPM_BUI for file in $(grep confluent/__init__.py INSTALLED_FILES.bare); do rm $RPM_BUILD_ROOT/$file done -grep -v confluent/__init__.py INSTALLED_FILES.bare > INSTALLED_FILES +grep -v confluent/__init__.py INSTALLED_FILES.bare | grep -v etc/init.d/confluent > INSTALLED_FILES +rm $RPM_BUILD_ROOT/etc/init.d/confluent +rmdir $RPM_BUILD_ROOT/etc/init.d +rmdir $RPM_BUILD_ROOT/etc cat INSTALLED_FILES %triggerin -- python-pyghmi