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 2011/09/07 01:31:06 UTC
svn commit: r1165925 -
/incubator/bigtop/trunk/bigtop-packages/src/rpm/zookeeper/SPECS/zookeeper.spec
Author: rvs
Date: Tue Sep 6 23:31:05 2011
New Revision: 1165925
URL: http://svn.apache.org/viewvc?rev=1165925&view=rev
Log:
BIGTOP-80. Add package dependencies to Zookeeper RPM for programs invoked from install/uninstall scripts
Modified:
incubator/bigtop/trunk/bigtop-packages/src/rpm/zookeeper/SPECS/zookeeper.spec
Modified: incubator/bigtop/trunk/bigtop-packages/src/rpm/zookeeper/SPECS/zookeeper.spec
URL: http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-packages/src/rpm/zookeeper/SPECS/zookeeper.spec?rev=1165925&r1=1165924&r2=1165925&view=diff
==============================================================================
--- incubator/bigtop/trunk/bigtop-packages/src/rpm/zookeeper/SPECS/zookeeper.spec (original)
+++ incubator/bigtop/trunk/bigtop-packages/src/rpm/zookeeper/SPECS/zookeeper.spec Tue Sep 6 23:31:05 2011
@@ -64,7 +64,10 @@ Source2: hadoop-zookeeper.sh.suse
Source3: install_zookeeper.sh
Source4: zookeeper.1
BuildArch: noarch
-BuildRequires: autoconf, automake, subversion
+BuildRequires: ant, autoconf, automake, subversion
+Requires(pre): coreutils, shadow-utils
+Requires(post): chkconfig
+Requires(preun): chkconfig
%description
ZooKeeper is a centralized service for maintaining configuration information,
@@ -81,6 +84,8 @@ Summary: The Hadoop Zookeeper server
Group: System/Daemons
Provides: hadoop-zookeeper-server
Requires: hadoop-zookeeper = %{version}-%{release}
+Requires(post): chkconfig
+Requires(preun): initscripts, chkconfig
BuildArch: noarch
%if %{?suse_version:1}0