summaryrefslogtreecommitdiffstats
path: root/redhat/main
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/main')
-rw-r--r--redhat/main/tdebindings/tdebindings-14.0.0.spec5
1 files changed, 3 insertions, 2 deletions
diff --git a/redhat/main/tdebindings/tdebindings-14.0.0.spec b/redhat/main/tdebindings/tdebindings-14.0.0.spec
index 529978c08..4d2eeaa52 100644
--- a/redhat/main/tdebindings/tdebindings-14.0.0.spec
+++ b/redhat/main/tdebindings/tdebindings-14.0.0.spec
@@ -125,10 +125,12 @@ BuildRequires: glib-devel
BuildRequires: gtk+-devel
%endif
%if 0%{?rhel} == 5 || 0%{?rhel} == 6
+%if 0%{?with_gtk1}
%define with_gtk1 1
BuildRequires: glib-devel
BuildRequires: gtk+-devel
%endif
+%endif
%if 0%{?mdkversion} == 201100
%define with_gtk1 1
BuildRequires: %{_lib}glib1.2-devel
@@ -200,8 +202,7 @@ BuildRequires: gcc-java
# PCLinuxOS use SUN's Java
%if 0%{?pclinuxos}
-BuildRequires: java-1.6.0-sun
-BuildRequires: java-1.6.0-sun-devel
+BuildRequires: java-devel
%else
# Others use OpenJDK