BIGTOP-1194. redhat-lsb-core is sufficient in spec files (Newton Alex via rvs)
Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/928c1d55 Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/928c1d55 Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/928c1d55 Branch: refs/heads/master Commit: 928c1d550c93f0a1b0b3327f36d648e6e8505d46 Parents: 872fad0 Author: Roman Shaposhnik <[email protected]> Authored: Sat Nov 1 15:38:06 2014 -0700 Committer: Roman Shaposhnik <[email protected]> Committed: Sat Nov 1 15:38:32 2014 -0700 ---------------------------------------------------------------------- bigtop-packages/src/rpm/flume/SPECS/flume.spec | 2 +- bigtop-packages/src/rpm/hadoop/SPECS/hadoop.spec | 2 +- bigtop-packages/src/rpm/hbase/SPECS/hbase.spec | 10 +++++----- bigtop-packages/src/rpm/hive/SPECS/hive.spec | 10 +++++----- bigtop-packages/src/rpm/hue/SPECS/hue.spec | 2 +- bigtop-packages/src/rpm/solr/SPECS/solr.spec | 2 +- bigtop-packages/src/rpm/spark/SPECS/spark.spec | 2 +- bigtop-packages/src/rpm/sqoop/SPECS/sqoop.spec | 2 +- bigtop-packages/src/rpm/zookeeper/SPECS/zookeeper.spec | 2 +- 9 files changed, 17 insertions(+), 17 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/bigtop/blob/928c1d55/bigtop-packages/src/rpm/flume/SPECS/flume.spec ---------------------------------------------------------------------- diff --git a/bigtop-packages/src/rpm/flume/SPECS/flume.spec b/bigtop-packages/src/rpm/flume/SPECS/flume.spec index cb94f00..a76132d 100644 --- a/bigtop-packages/src/rpm/flume/SPECS/flume.spec +++ b/bigtop-packages/src/rpm/flume/SPECS/flume.spec @@ -105,7 +105,7 @@ Requires: initscripts # 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 +Requires: /lib/lsb/init-functions %endif %description agent http://git-wip-us.apache.org/repos/asf/bigtop/blob/928c1d55/bigtop-packages/src/rpm/hadoop/SPECS/hadoop.spec ---------------------------------------------------------------------- diff --git a/bigtop-packages/src/rpm/hadoop/SPECS/hadoop.spec b/bigtop-packages/src/rpm/hadoop/SPECS/hadoop.spec index e96d33b..5300a8b 100644 --- a/bigtop-packages/src/rpm/hadoop/SPECS/hadoop.spec +++ b/bigtop-packages/src/rpm/hadoop/SPECS/hadoop.spec @@ -188,7 +188,7 @@ Requires: sh-utils, insserv %if %{!?suse_version:1}0 && %{!?mgaversion:1}0 BuildRequires: pkgconfig, fuse-libs, redhat-rpm-config, lzo-devel, openssl-devel # Required for init scripts -Requires: sh-utils, redhat-lsb +Requires: sh-utils, /lib/lsb/init-functions %endif %if 0%{?mgaversion} http://git-wip-us.apache.org/repos/asf/bigtop/blob/928c1d55/bigtop-packages/src/rpm/hbase/SPECS/hbase.spec ---------------------------------------------------------------------- diff --git a/bigtop-packages/src/rpm/hbase/SPECS/hbase.spec b/bigtop-packages/src/rpm/hbase/SPECS/hbase.spec index 1935972..59dcf1d 100644 --- a/bigtop-packages/src/rpm/hbase/SPECS/hbase.spec +++ b/bigtop-packages/src/rpm/hbase/SPECS/hbase.spec @@ -134,7 +134,7 @@ Requires: initscripts # 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 +Requires: /lib/lsb/init-functions %endif %description master @@ -160,7 +160,7 @@ Requires: initscripts # 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 +Requires: /lib/lsb/init-functions %endif @@ -187,7 +187,7 @@ Requires: initscripts # 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 +Requires: /lib/lsb/init-functions %endif @@ -215,7 +215,7 @@ Requires: initscripts # 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 +Requires: /lib/lsb/init-functions %endif @@ -252,7 +252,7 @@ Requires: initscripts # 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 +Requires: /lib/lsb/init-functions %endif http://git-wip-us.apache.org/repos/asf/bigtop/blob/928c1d55/bigtop-packages/src/rpm/hive/SPECS/hive.spec ---------------------------------------------------------------------- diff --git a/bigtop-packages/src/rpm/hive/SPECS/hive.spec b/bigtop-packages/src/rpm/hive/SPECS/hive.spec index 4d2a91c..5e4541d 100644 --- a/bigtop-packages/src/rpm/hive/SPECS/hive.spec +++ b/bigtop-packages/src/rpm/hive/SPECS/hive.spec @@ -101,7 +101,7 @@ Requires(pre): %{name} = %{version}-%{release} Requires: insserv %else # Required for init scripts -Requires: redhat-lsb +Requires: /lib/lsb/init-functions %endif %package server2 @@ -115,7 +115,7 @@ Requires(pre): %{name} = %{version}-%{release} Requires: insserv %else # Required for init scripts -Requires: redhat-lsb +Requires: /lib/lsb/init-functions %endif @@ -135,7 +135,7 @@ Requires(pre): %{name} = %{version}-%{release} Requires: insserv %else # Required for init scripts -Requires: redhat-lsb +Requires: /lib/lsb/init-functions %endif @@ -199,7 +199,7 @@ Requires: initscripts # 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 +Requires: /lib/lsb/init-functions %endif %description hcatalog-server @@ -231,7 +231,7 @@ Requires: initscripts /usr/lib/rpm/brp-python-bytecompile ; \ %{nil} # Required for init scripts -Requires: redhat-lsb +Requires: /lib/lsb/init-functions %endif %description webhcat-server http://git-wip-us.apache.org/repos/asf/bigtop/blob/928c1d55/bigtop-packages/src/rpm/hue/SPECS/hue.spec ---------------------------------------------------------------------- diff --git a/bigtop-packages/src/rpm/hue/SPECS/hue.spec b/bigtop-packages/src/rpm/hue/SPECS/hue.spec index 6db01fe..7c3eed1 100644 --- a/bigtop-packages/src/rpm/hue/SPECS/hue.spec +++ b/bigtop-packages/src/rpm/hue/SPECS/hue.spec @@ -188,7 +188,7 @@ Requires: insserv, python-xml %else BuildRequires: /sbin/runuser, sqlite-devel, openldap-devel, mysql-devel, openssl-devel # Required for init scripts -Requires: redhat-lsb +Requires: /lib/lsb/init-functions %endif # Disable automatic Provides generation - otherwise we will claim to provide all of the http://git-wip-us.apache.org/repos/asf/bigtop/blob/928c1d55/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 d82184d..621cfdd 100644 --- a/bigtop-packages/src/rpm/solr/SPECS/solr.spec +++ b/bigtop-packages/src/rpm/solr/SPECS/solr.spec @@ -68,7 +68,7 @@ Requires: bigtop-utils >= 0.7, bigtop-tomcat # 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 +Requires: /lib/lsb/init-functions %endif %description http://git-wip-us.apache.org/repos/asf/bigtop/blob/928c1d55/bigtop-packages/src/rpm/spark/SPECS/spark.spec ---------------------------------------------------------------------- diff --git a/bigtop-packages/src/rpm/spark/SPECS/spark.spec b/bigtop-packages/src/rpm/spark/SPECS/spark.spec index ea12557..91da770 100644 --- a/bigtop-packages/src/rpm/spark/SPECS/spark.spec +++ b/bigtop-packages/src/rpm/spark/SPECS/spark.spec @@ -64,7 +64,7 @@ Requires: insserv %else # Required for init scripts -Requires: redhat-lsb +Requires: /lib/lsb/init-functions %global initd_dir %{_sysconfdir}/rc.d/init.d http://git-wip-us.apache.org/repos/asf/bigtop/blob/928c1d55/bigtop-packages/src/rpm/sqoop/SPECS/sqoop.spec ---------------------------------------------------------------------- diff --git a/bigtop-packages/src/rpm/sqoop/SPECS/sqoop.spec b/bigtop-packages/src/rpm/sqoop/SPECS/sqoop.spec index c8b1acd..875acbd 100644 --- a/bigtop-packages/src/rpm/sqoop/SPECS/sqoop.spec +++ b/bigtop-packages/src/rpm/sqoop/SPECS/sqoop.spec @@ -100,7 +100,7 @@ Requires: initscripts # 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 +Requires: /lib/lsb/init-functions %endif %description client http://git-wip-us.apache.org/repos/asf/bigtop/blob/928c1d55/bigtop-packages/src/rpm/zookeeper/SPECS/zookeeper.spec ---------------------------------------------------------------------- diff --git a/bigtop-packages/src/rpm/zookeeper/SPECS/zookeeper.spec b/bigtop-packages/src/rpm/zookeeper/SPECS/zookeeper.spec index 3ba6dd7..1a05ecd 100644 --- a/bigtop-packages/src/rpm/zookeeper/SPECS/zookeeper.spec +++ b/bigtop-packages/src/rpm/zookeeper/SPECS/zookeeper.spec @@ -119,7 +119,7 @@ Requires: initscripts # 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 +Requires: /lib/lsb/init-functions %endif
