diff options
Diffstat (limited to 'redhat/dependencies/tqtinterface/tqtinterface-14.0.0.spec')
-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} |