From 8ce1d910e332592ef62a80868396932f01224d5f Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Tue, 4 Oct 2005 12:07:44 +0000 Subject: Make perl-devel dependency portable (thanks to Buchan) --- rpmtools.spec | 4 ++-- 1 file 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 -- cgit v1.2.1