From 5d8eb337f3de472b8c54a652fd1a5eedbdd027c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Mon, 29 Dec 2014 15:33:18 +0100 Subject: RPM packaging: update tdebindings --- redhat/main/tdebindings/tdebindings-14.0.0.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'redhat/main/tdebindings') 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 -- cgit v1.2.1