aboutsummaryrefslogtreecommitdiffstats
path: root/perl-URPM.spec
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-10-04 12:00:27 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-10-04 12:00:27 +0000
commit690462c611701f6c9a69cd8e2e6da38077d6ad27 (patch)
tree083b9e83fe8ba99c1214d53dce4bddf2bf2b1c23 /perl-URPM.spec
parent6a954655b19da2b7f8613252023edb8a197e17ac (diff)
downloadperl-URPM-690462c611701f6c9a69cd8e2e6da38077d6ad27.tar
perl-URPM-690462c611701f6c9a69cd8e2e6da38077d6ad27.tar.gz
perl-URPM-690462c611701f6c9a69cd8e2e6da38077d6ad27.tar.bz2
perl-URPM-690462c611701f6c9a69cd8e2e6da38077d6ad27.tar.xz
perl-URPM-690462c611701f6c9a69cd8e2e6da38077d6ad27.zip
Remove buildrequires on bzip2.
Simplify buildreq_perl_devel conditional dependency per Buchan's suggestion.
Diffstat (limited to 'perl-URPM.spec')
-rw-r--r--perl-URPM.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-URPM.spec b/perl-URPM.spec
index 060f1bc..6e63c2c 100644
--- a/perl-URPM.spec
+++ b/perl-URPM.spec
@@ -13,7 +13,6 @@
%{expand:%%define compat_makeinstall_std %(perl -e 'printf "%%s\n", "%{?makeinstall_std:1}" ? "%%makeinstall_std" : "%%{__make} install PREFIX=%%{buildroot}%%{_prefix}"')}
%{expand:%%define compat_perl_vendorarch %(perl -MConfig -e 'printf "%%s\n", "%{?perl_vendorarch:1}" ? "%%{perl_vendorarch}" : "$Config{installvendorarch}"')}
-%{expand:%%define buildreq_perl_devel %%(perl -e 'printf "%%s\\n", "%_vendor" =~ /\\bmandr/i ? "perl-devel" : "perl"')}
%{expand:%%define real_release %%(perl -e 'printf "%%s\\n", ("%_vendor" !~ /\\bmandr/i && ("%release" =~ /(.*?)mdk/)[0] || "%release")')}
Summary: URPM module for perl
@@ -24,7 +23,8 @@ License: GPL or Artistic
Group: %{group}
Source: %{real_name}-%{version}.tar.bz2
URL: http://cvs.mandriva.com/cgi-bin/cvsweb.cgi/soft/perl-URPM
-BuildRequires: %{buildreq_perl_devel} rpm-devel >= 4.2.3 bzip2-devel perl-devel
+BuildRequires: perl%{?mdkversion:-devel}
+BuildRequires: rpm-devel >= 4.2.3
Requires: rpm >= %{rpm_version}, bzip2 >= 1.0
Requires: packdrake >= 5.0.2
Requires: perl-base >= 2:5.8.7