diff options
author | François Andriot <albator78@libertysurf.fr> | 2014-09-29 17:55:49 +0200 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2014-09-29 17:55:49 +0200 |
commit | 3bb36511c079e32692dcc26c447495283eccc8d5 (patch) | |
tree | 60725ecede82f9e5ed188041ea88bb924772c61f /redhat | |
parent | 800fdd95838219f1e6f16ad63cc4074949093fc0 (diff) | |
download | tde-packaging-3bb36511c079e32692dcc26c447495283eccc8d5.tar.gz tde-packaging-3bb36511c079e32692dcc26c447495283eccc8d5.zip |
RPM Packaging: add cmake macros to tqtinterface buildrequires
Diffstat (limited to 'redhat')
-rwxr-xr-x | redhat/dependencies/tqtinterface/tqtinterface-14.0.0.spec | 12 |
1 files changed, 11 insertions, 1 deletions
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} |