From 52a33877ebc4e6d551c1fb03fe5a9e799a2265d8c674dbcfd6e89c4962596915 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Fri, 3 Dec 2010 14:53:38 +0000 Subject: [PATCH] always buildrequire perl-macros if not present, move %perl_requires behind buildroot (script commit) OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Text-CSV?expand=0&rev=10 --- perl-Text-CSV.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/perl-Text-CSV.spec b/perl-Text-CSV.spec index 9d502e7..05953b6 100644 --- a/perl-Text-CSV.spec +++ b/perl-Text-CSV.spec @@ -31,16 +31,14 @@ Url: http://search.cpan.org/dist/Text-CSV/ Source: %{cpan_name}-%{version}.tar.bz2 BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build +%{perl_requires} BuildRequires: perl -%if 0%{?suse_version} < 1120 BuildRequires: perl-macros -%endif %if %{with pod} BuildRequires: perl(Test::Pod) %endif BuildRequires: perl(Test::More) BuildRequires: perl(IO::Handle) -%{perl_requires} Requires: perl(IO::Handle) %description