From 45a5b0b1a5434a0e8790b9560632e0d41604fc5270b8cebe3aebce9ea5ea71a1 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Fri, 3 Dec 2010 14:52:52 +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-Test-Requires?expand=0&rev=7 --- perl-Test-Requires.spec | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/perl-Test-Requires.spec b/perl-Test-Requires.spec index 956de42..488fd3c 100644 --- a/perl-Test-Requires.spec +++ b/perl-Test-Requires.spec @@ -30,12 +30,10 @@ Url: http://search.cpan.org/dist/Test-Requires/ Source: %{cpan_name}-%{version}.tar.bz2 BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: perl -%if 0%{?suse_version} < 1120 -BuildRequires: perl-macros -%endif -BuildRequires: perl(Test::More) >= 0.61 %{perl_requires} +BuildRequires: perl +BuildRequires: perl-macros +BuildRequires: perl(Test::More) >= 0.61 Requires: perl(Test::More) >= 0.61 %description