This is an automated email from the ASF dual-hosted git repository.
evansye pushed a commit to branch branch-1.4
in repository https://gitbox.apache.org/repos/asf/bigtop.git
The following commit(s) were added to refs/heads/branch-1.4 by this push:
new f1aeba3 BIGTOP-3210. Missing /lib/lsb/init-functions when deploying
Flink on Fedora 26 (#524)
f1aeba3 is described below
commit f1aeba3c85891852117dabff66933801692110fa
Author: Evans Ye <[email protected]>
AuthorDate: Wed Apr 24 01:21:05 2019 +0800
BIGTOP-3210. Missing /lib/lsb/init-functions when deploying Flink on Fedora
26 (#524)
---
bigtop-packages/src/rpm/flink/SPECS/flink.spec | 24 ++++++++----------------
1 file changed, 8 insertions(+), 16 deletions(-)
diff --git a/bigtop-packages/src/rpm/flink/SPECS/flink.spec
b/bigtop-packages/src/rpm/flink/SPECS/flink.spec
index 8d1913a..fbd30c9 100644
--- a/bigtop-packages/src/rpm/flink/SPECS/flink.spec
+++ b/bigtop-packages/src/rpm/flink/SPECS/flink.spec
@@ -55,6 +55,14 @@ Source6: bigtop.bom
Requires: bigtop-utils >= 0.7
Requires(preun): /sbin/service
+%if %{?suse_version:1}0
+# Required for init scripts
+Requires: insserv
+%else
+# Required for init scripts
+Requires: /lib/lsb/init-functions
+%endif
+
%description
Apache Flink is an open source platform for distributed stream and batch data
processing.
Flinkās core is a streaming dataflow engine that provides data distribution,
communication,
@@ -83,14 +91,6 @@ Requires(pre): %{name} = %{version}-%{release}
%description jobmanager
Apache Flink Job Manager service.
-%if %{?suse_version:1}0
-# Required for init scripts
-Requires: insserv
-%else
-# Required for init scripts
-Requires: /lib/lsb/init-functions
-%endif
-
%package taskmanager
Summary: Provides the Apache Flink Task Manager service.
Group: System/Daemons
@@ -100,14 +100,6 @@ Requires(pre): %{name} = %{version}-%{release}
%description taskmanager
Apache Flink Task Manager service.
-%if %{?suse_version:1}0
-# Required for init scripts
-Requires: insserv
-%else
-# Required for init scripts
-Requires: /lib/lsb/init-functions
-%endif
-
##############################################
%prep