summaryrefslogtreecommitdiffstats
path: root/redhat/kdebindings/trinity-kdebindings-3.5.13.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/kdebindings/trinity-kdebindings-3.5.13.spec')
-rw-r--r--redhat/kdebindings/trinity-kdebindings-3.5.13.spec3
1 files changed, 3 insertions, 0 deletions
diff --git a/redhat/kdebindings/trinity-kdebindings-3.5.13.spec b/redhat/kdebindings/trinity-kdebindings-3.5.13.spec
index f9b53ff25..2637b79eb 100644
--- a/redhat/kdebindings/trinity-kdebindings-3.5.13.spec
+++ b/redhat/kdebindings/trinity-kdebindings-3.5.13.spec
@@ -107,7 +107,10 @@ BuildRequires: java-1.6.0-openjdk-devel
%define _with_java --with-java=%{java_home}
## Perl
+# There is no 'perl-devel' package on RHEL5
+%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion}
BuildRequires: perl-devel
+%endif
%define perl_vendorarch %{expand:%%(eval `perl -V:installvendorarch`; echo $installvendorarch)}