bigtop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From evan...@apache.org
Subject [2/3] bigtop git commit: BIGTOP-1937. redhat-lsb is required by kafka daemon
Date Tue, 21 Jul 2015 14:02:01 GMT
BIGTOP-1937. redhat-lsb is required by kafka daemon


Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo
Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/260b3dcf
Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/260b3dcf
Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/260b3dcf

Branch: refs/heads/master
Commit: 260b3dcfc3eed859f2da59950fca9d1f0fec1431
Parents: efdbc45
Author: root <root@a4ac76fdb9ef.(none)>
Authored: Sat Jul 18 04:22:00 2015 +0000
Committer: Evans Ye <evansye@apache.org>
Committed: Tue Jul 21 13:56:55 2015 +0000

----------------------------------------------------------------------
 bigtop-packages/src/rpm/kafka/SPECS/kafka.spec | 7 +++++++
 1 file changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bigtop/blob/260b3dcf/bigtop-packages/src/rpm/kafka/SPECS/kafka.spec
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/rpm/kafka/SPECS/kafka.spec b/bigtop-packages/src/rpm/kafka/SPECS/kafka.spec
index 58aa132..e9dc956 100644
--- a/bigtop-packages/src/rpm/kafka/SPECS/kafka.spec
+++ b/bigtop-packages/src/rpm/kafka/SPECS/kafka.spec
@@ -82,6 +82,13 @@ Summary: Server for kafka
 Group: System/Daemons
 Requires: kafka = %{version}-%{release}
 
+# CentOS 5 does not have any dist macro
+# So I will suppose anything that is not Mageia or a SUSE will be a RHEL/CentOS/Fedora
+%if %{!?suse_version:1}0 && %{!?mgaversion:1}0
+# Required for init scripts
+Requires: redhat-lsb
+%endif
+
 %description server
 Bundles the init script for kafka server.
 


Mime
View raw message