[qyoto] el6 friendly
Rex Dieter
rdieter at fedoraproject.org
Wed Oct 23 17:41:40 UTC 2013
commit cd071e5d0114e8cb7d120fedb6ea81f2510c6674
Author: Rex Dieter <rdieter at math.unl.edu>
Date: Wed Oct 23 12:41:38 2013 -0500
el6 friendly
qyoto.spec | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/qyoto.spec b/qyoto.spec
index d379d74..c7eef2f 100644
--- a/qyoto.spec
+++ b/qyoto.spec
@@ -4,6 +4,12 @@
%global monodir %{_libdir}/mono
%endif
+%if 0%{?rhel} == 6
+%define cmake_pkg cmake28
+%else
+%define cmake_pkg cmake
+%endif
+
Name: qyoto
Summary: .NET/Mono bindings for the Qt libraries
Version: 4.11.2
@@ -21,7 +27,7 @@ URL: http://techbase.kde.org/Development/Languages/Qyoto
%endif
Source0: http://download.kde.org/%{stable}/%{version}/src/%{name}-%{version}.tar.xz
-BuildRequires: cmake
+BuildRequires: %{cmake_pkg}
BuildRequires: pkgconfig(mono)
BuildRequires: pkgconfig(phonon)
BuildRequires: pkgconfig(qimageblitz)
@@ -59,7 +65,7 @@ for the Qt libraries.
%build
mkdir -p %{_target_platform}
pushd %{_target_platform}
-%{cmake} ..
+%{?cmake28}%{!?cmake28:%{?cmake}} ..
popd
make %{?_smp_mflags} -C %{_target_platform}
More information about the scm-commits
mailing list