From 59b8ae11b625ccece25652eea8aa3692408e24cd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Tue, 15 Nov 2005 22:55:15 +0000 Subject: [PATCH] - add autodeps, cut languages that nobody fills anyway Changed files: perl.spec -> 1.35 --- perl.spec | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/perl.spec b/perl.spec index 2ecb5c8..a6853bd 100644 --- a/perl.spec +++ b/perl.spec @@ -1,16 +1,13 @@ # # Conditional build: +%bcond_without autodeps # don't BR packages needed only for resolving deps %bcond_without tests # do not perform "make test" # %include /usr/lib/rpm/macros.perl %define pdir - %define pnam - Summary: - -Summary(de): - -Summary(es): - -Summary(fr): - Summary(pl): - -Summary(ru): - Name: perl- Version: - Release: - @@ -23,7 +20,7 @@ URL: - BuildRequires: perl-devel >= 1:5.8.0 BuildRequires: rpm-perlprov >= 4.1-13 BuildRequires: - -%if %{with tests} +%if %{with autodeps} || %{with tests} BuildRequires: perl- BuildRequires: perl- %endif @@ -37,16 +34,8 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description -%description -l de - -%description -l es - -%description -l fr - %description -l pl -%description -l ru - %prep %setup -q -n %{pdir}-%{pnam}-%{version} %patch0 -p1 -- 2.44.0