Author: bmahe
Date: Sat Aug 27 04:49:34 2011
New Revision: 1162297
URL: http://svn.apache.org/viewvc?rev=1162297&view=rev
Log:
BIGTOP-45. Fix build issue for Mageia and openSUSE
Modified:
incubator/bigtop/trunk/src/pkg/rpm/hadoop/SPECS/hadoop.spec
Modified: incubator/bigtop/trunk/src/pkg/rpm/hadoop/SPECS/hadoop.spec
URL:
http://svn.apache.org/viewvc/incubator/bigtop/trunk/src/pkg/rpm/hadoop/SPECS/hadoop.spec?rev=1162297&r1=1162296&r2=1162297&view=diff
==============================================================================
--- incubator/bigtop/trunk/src/pkg/rpm/hadoop/SPECS/hadoop.spec (original)
+++ incubator/bigtop/trunk/src/pkg/rpm/hadoop/SPECS/hadoop.spec Sat Aug 27
04:49:34 2011
@@ -41,7 +41,7 @@
# 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}%{!?mgaversion:1}0
+%if %{!?suse_version:1}0 && %{!?mgaversion:1}0
# brp-repack-jars uses unzip to expand jar files
# Unfortunately aspectjtools-1.6.5.jar pulled by ivy contains some files and
directories without any read permission
# and make whole process to fail.
@@ -126,7 +126,7 @@ Requires: sh-utils, insserv
# 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}%{!?mgaversion:1}0
+%if %{!?suse_version:1}0 && %{!?mgaversion:1}0
BuildRequires: fuse-libs, libtool, redhat-rpm-config, lzo-devel
# Required for init scripts
Requires: sh-utils, redhat-lsb