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-Warn?expand=0&rev=8
This commit is contained in:
Stephan Kulow 2010-12-03 14:53:18 +00:00 committed by Git OBS Bridge
parent 44f09203eb
commit 936b533486

View File

@ -28,6 +28,7 @@ Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Test-Warn
Source: %{cpan_name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Test::Pod) >= 1.14
@ -37,7 +38,6 @@ BuildRequires: perl(Test::Builder::Tester) >= 1.02
BuildRequires: perl(Test::Builder) >= 0.13
BuildRequires: perl(Sub::Uplevel) >= 0.12
BuildRequires: perl(Tree::DAG_Node)
%{perl_requires}
Requires: perl(Test::Builder) >= 0.13
Requires: perl(Sub::Uplevel) >= 0.12
Requires: perl(Tree::DAG_Node)