aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rpmtools.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpmtools.spec b/rpmtools.spec
index 6c5012a..1217490 100644
--- a/rpmtools.spec
+++ b/rpmtools.spec
@@ -15,8 +15,8 @@ License: GPL
Group: %{group}
URL: http://cvs.mandriva.com/cgi-bin/cvsweb.cgi/soft/rpmtools
BuildRoot: %{_tmppath}/%{name}-buildroot
-BuildRequires: rpm-devel >= 4.0.3 bzip2-devel
-BuildRequires: perl-devel
+BuildRequires: perl%{?mdkversion:-devel}
+BuildRequires: rpm-devel >= 4.2.3
BuildRequires: perl-Compress-Zlib
Requires: rpm >= %{rpm_version}
Requires: bzip2 >= 1.0