You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by rv...@apache.org on 2013/04/12 21:03:23 UTC

git commit: BIGTOP-896. Solr rpm requires redhat-lsb to run (Scott Stults via rvs)

Updated Branches:
  refs/heads/master 45ef3b43b -> 86760f294


BIGTOP-896. Solr rpm requires redhat-lsb to run (Scott Stults via rvs)


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

Branch: refs/heads/master
Commit: 86760f29474dcc31ef28ab669d9fc0d3d2985d52
Parents: 45ef3b4
Author: Roman Shaposhnik <rv...@cloudera.com>
Authored: Fri Apr 12 12:03:14 2013 -0700
Committer: Roman Shaposhnik <rv...@cloudera.com>
Committed: Fri Apr 12 12:03:14 2013 -0700

----------------------------------------------------------------------
 bigtop-packages/src/rpm/solr/SPECS/solr.spec |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bigtop/blob/86760f29/bigtop-packages/src/rpm/solr/SPECS/solr.spec
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/rpm/solr/SPECS/solr.spec b/bigtop-packages/src/rpm/solr/SPECS/solr.spec
index 7e77847..2500ecd 100644
--- a/bigtop-packages/src/rpm/solr/SPECS/solr.spec
+++ b/bigtop-packages/src/rpm/solr/SPECS/solr.spec
@@ -59,6 +59,12 @@ Source6: solr.default
 Source7: solr-server.init
 Requires: bigtop-utils, bigtop-tomcat
 
+# 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 
 Solr is the popular, blazing fast open source enterprise search platform from