summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2014-12-10 17:45:49 +0000
committerMark Spruiell <mes@zeroc.com>2014-12-10 17:45:49 +0000
commitc2473622f5950918aee1adc9557bdd5698682d62 (patch)
tree8e86b265a7b9d94a334df9d21a766734b41632bf
parentFixed ICE-6123: demo/IceGrid/secure can't find python executable (diff)
downloadice-c2473622f5950918aee1adc9557bdd5698682d62.tar.bz2
ice-c2473622f5950918aee1adc9557bdd5698682d62.tar.xz
ice-c2473622f5950918aee1adc9557bdd5698682d62.zip
ICE-6127 - add glibc-devel dependency to RPMs
-rw-r--r--distribution/src/rpm/ice.spec9
1 files changed, 8 insertions, 1 deletions
diff --git a/distribution/src/rpm/ice.spec b/distribution/src/rpm/ice.spec
index 09c033d62ff..91aee04f387 100644
--- a/distribution/src/rpm/ice.spec
+++ b/distribution/src/rpm/ice.spec
@@ -15,6 +15,7 @@
%define systemdpkg bogus
%define shadow bogus
+%define biarch 0
%if "%{dist}" == ".el6"
%define shadow shadow-utils
@@ -24,10 +25,12 @@
%define systemdpkg systemd
%define cpp11 1
%define shadow shadow-utils
+ %define biarch 1
%endif
%if "%{dist}" == ".amzn1"
%define cpp11 1
%define shadow shadow-utils
+ %define biarch 1
%endif
%if "%{dist}" == ".sles11"
%define shadow pwdutils
@@ -37,6 +40,7 @@
%define systemdpkg systemd-rpm-macros
%define cpp11 1
%define shadow shadow
+ %define biarch 1
%endif
%define buildall 1
@@ -50,7 +54,7 @@
%define cppx86 0
%ifarch %{ix86}
-%if "%{dist}" == ".el7" || "%{dist}" == ".sles12" || "%{dist}" == ".amzn1"
+%if %{biarch}
%define cppx86 1
%endif
%endif
@@ -369,6 +373,9 @@ Summary: Tools, libraries and headers for developing Ice applications in C++.
Group: Development/Tools
Obsoletes: ice-c++-devel < 3.6
Requires: libice3.6-c++%{?_isa} = %{version}-%{release}, ice-slice = %{version}-%{release}
+%if %{biarch}
+Requires: glibc-devel%{?_isa}
+%endif
%description -n libice-c++-devel
Tools, libraries and headers for developing Ice applications in C++.