aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-05-04 03:06:17 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-05-04 03:06:17 +0000
commitfcfe634456adc308fbb618127bc9a990b22ec5bc (patch)
tree169f5c57facb3c8241a4dad4dccb2bc26f643fc8
parent08036a7b8249ec6a8c480f8f274c0734c02076bc (diff)
downloadperl-URPM-fcfe634456adc308fbb618127bc9a990b22ec5bc.tar
perl-URPM-fcfe634456adc308fbb618127bc9a990b22ec5bc.tar.gz
perl-URPM-fcfe634456adc308fbb618127bc9a990b22ec5bc.tar.bz2
perl-URPM-fcfe634456adc308fbb618127bc9a990b22ec5bc.tar.xz
perl-URPM-fcfe634456adc308fbb618127bc9a990b22ec5bc.zip
Don't hardcode distribution name
-rw-r--r--perl-URPM.spec2
1 files changed, 0 insertions, 2 deletions
diff --git a/perl-URPM.spec b/perl-URPM.spec
index 6627d90..f4f0e35 100644
--- a/perl-URPM.spec
+++ b/perl-URPM.spec
@@ -15,7 +15,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" =~ /mandrake/i ? "perl-devel" : "perl"')}
-%{expand:%%define distribution %%(perl -e 'printf "%%s\\n", ("%_vendor" =~ /mandrake/i ? "Mandrakelinux" : "Red Hat Linux")')}
%{expand:%%define real_release %%(perl -e 'printf "%%s\\n", ("%_vendor" !~ /mandrake/i && ("%release" =~ /(.*?)mdk/)[0] || "%release")')}
Summary: URPM module for perl
@@ -24,7 +23,6 @@ Version: %{version}
Release: %{real_release}
License: GPL or Artistic
Group: %{group}
-Distribution: %{distribution}
Source: %{real_name}-%{version}.tar.bz2
URL: http://cvs.mandrakesoft.com/cgi-bin/cvsweb.cgi/soft/perl-URPM
BuildRequires: %{buildreq_perl_devel} rpm-devel >= 4.0.3 bzip2-devel