Author: bmahe
Date: Thu Jun 21 22:47:53 2012
New Revision: 1352720

URL: http://svn.apache.org/viewvc?rev=1352720&view=rev
Log:
BIGTOP-642. Suse does not have a package named 'which'

Modified:
    incubator/bigtop/trunk/bigtop-packages/src/deb/bigtop-utils/control
    
incubator/bigtop/trunk/bigtop-packages/src/rpm/bigtop-utils/SPECS/bigtop-utils.spec

Modified: incubator/bigtop/trunk/bigtop-packages/src/deb/bigtop-utils/control
URL: 
http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-packages/src/deb/bigtop-utils/control?rev=1352720&r1=1352719&r2=1352720&view=diff
==============================================================================
--- incubator/bigtop/trunk/bigtop-packages/src/deb/bigtop-utils/control 
(original)
+++ incubator/bigtop/trunk/bigtop-packages/src/deb/bigtop-utils/control Thu Jun 
21 22:47:53 2012
@@ -22,6 +22,6 @@ Homepage: http://incubator.apache.org/bi
 
 Package: bigtop-utils
 Architecture: all
-Depends: ${misc:Depends}, which
+Depends: ${misc:Depends}, debianutils
 Description: Collection of useful tools for Bigtop
  This includes a collection of useful tools and files for Bigtop

Modified: 
incubator/bigtop/trunk/bigtop-packages/src/rpm/bigtop-utils/SPECS/bigtop-utils.spec
URL: 
http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-packages/src/rpm/bigtop-utils/SPECS/bigtop-utils.spec?rev=1352720&r1=1352719&r2=1352720&view=diff
==============================================================================
--- 
incubator/bigtop/trunk/bigtop-packages/src/rpm/bigtop-utils/SPECS/bigtop-utils.spec
 (original)
+++ 
incubator/bigtop/trunk/bigtop-packages/src/rpm/bigtop-utils/SPECS/bigtop-utils.spec
 Thu Jun 21 22:47:53 2012
@@ -21,19 +21,26 @@
 Name: bigtop-utils
 Version: %{bigtop_utils_version}
 Release: %{bigtop_utils_release}
-Summary:       Collection of useful tools for Bigtop
+Summary: Collection of useful tools for Bigtop
 
-Group:         Applications/Engineering
-License:       APL2
-URL:           http://incubator.apache.org/bigtop/
-Source0:       bigtop-detect-javahome
-Source1:       LICENSE
+Group:      Applications/Engineering
+License:    APL2
+URL:        http://incubator.apache.org/bigtop/
+BuildRoot:  %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
+BuildArch:  noarch
+Source0:    bigtop-detect-javahome
+Source1:    LICENSE
 Source2:    bigtop-utils.default
+
+# "which" command is needed for a lot of projects.
+# It is part of the package "util-linux" on suse and "which" everywhere else
+%if  %{?suse_version:1}0
+Requires:  util-linux
+%else
 Requires:       which
+%endif
 
-BuildRoot:     %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 
-BuildArch: noarch
 
 %description
 This includes a collection of useful tools and files for Bigtop


Reply via email to