[cmake28/el5] disable qt4-gui for el5
Björn Esser
besser82 at fedoraproject.org
Mon Jan 6 19:21:57 UTC 2014
commit 2698ce3b0b14e46d2081c18386ae52c94bb37dbd
Author: Björn Esser <bjoern.esser at gmail.com>
Date: Mon Jan 6 20:18:45 2014 +0100
disable qt4-gui for el5
cmake28.spec | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/cmake28.spec b/cmake28.spec
index fc30bae..4f79c47 100644
--- a/cmake28.spec
+++ b/cmake28.spec
@@ -2,7 +2,10 @@
# or architecture
%bcond_with bootstrap
# Set to bcond_with or use --without gui to disable qt4 gui build
-%bcond_without gui
+# This requires qt4 >= 4.4.0, but el5 has 4.2.1, only. So we need to disable
+# permanently on el5.
+%{?el5:%bcond_with gui}
+%{!?el5:%bcond_without gui}
# Set to RC version if building RC, else %%{nil}
%define rcver %{nil}
@@ -53,7 +56,7 @@ Patch8: cmake28.patch
# see https://fedoraproject.org/wiki/Packaging:No_Bundled_Libraries
Provides: bundled(md5-deutsch)
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires: gcc-gfortran
BuildRequires: ncurses-devel, libX11-devel
More information about the scm-commits
mailing list