From 3bb36511c079e32692dcc26c447495283eccc8d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Mon, 29 Sep 2014 17:55:49 +0200 Subject: RPM Packaging: add cmake macros to tqtinterface buildrequires --- redhat/dependencies/tqtinterface/tqtinterface-14.0.0.spec | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'redhat/dependencies') diff --git a/redhat/dependencies/tqtinterface/tqtinterface-14.0.0.spec b/redhat/dependencies/tqtinterface/tqtinterface-14.0.0.spec index 2c2e2f37b..4c5082633 100755 --- a/redhat/dependencies/tqtinterface/tqtinterface-14.0.0.spec +++ b/redhat/dependencies/tqtinterface/tqtinterface-14.0.0.spec @@ -22,10 +22,16 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz BuildRequires: cmake >= 2.8 +BuildRequires: gcc-c++ + BuildRequires: trinity-tqt3-devel >= 3.5.0 Requires: trinity-tqt3 >= 3.5.0 -BuildRequires: gcc-c++ +%if 0%{?suse_version} +BuildRequires: trinity-cmake-macros +Requires: trinity-cmake-macros +%endif + # PTHREAD support %if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} @@ -98,6 +104,10 @@ Summary: %{name} - Development files Requires: %{name} = %{version}-%{release} Requires: trinity-tqt3-devel >= 3.5.0 +%if 0%{?suse_version} +Requires: trinity-cmake-macros +%endif + Obsoletes: tqtinterface-devel < %{version}-%{release} Provides: tqtinterface-devel = %{version}-%{release} -- cgit v1.2.1