bigtop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From evan...@apache.org
Subject [bigtop] branch master updated: BIGTOP-3210. Missing /lib/lsb/init-functions when deploying Flink on Fedora 26 (#523)
Date Sun, 05 May 2019 06:08:14 GMT
This is an automated email from the ASF dual-hosted git repository.

evansye pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bigtop.git


The following commit(s) were added to refs/heads/master by this push:
     new 00f689d  BIGTOP-3210. Missing /lib/lsb/init-functions when deploying Flink on Fedora
26 (#523)
00f689d is described below

commit 00f689d5b96dd5d31de9dbd336360cb710b204c8
Author: Evans Ye <evansye@apache.org>
AuthorDate: Sun May 5 14:08:10 2019 +0800

    BIGTOP-3210. Missing /lib/lsb/init-functions when deploying Flink on Fedora 26 (#523)
---
 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


Mime
View raw message