incubator-bigtop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject svn commit: r1165925 - /incubator/bigtop/trunk/bigtop-packages/src/rpm/zookeeper/SPECS/zookeeper.spec
Date Tue, 06 Sep 2011 23:31:06 GMT
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



Mime
View raw message