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
This commit is contained in:
Stephan Kulow 2010-12-03 14:52:52 +00:00 committed by Git OBS Bridge
parent 3c38f3002c
commit 45a5b0b1a5

View File

@ -30,12 +30,10 @@ Url: http://search.cpan.org/dist/Test-Requires/
Source: %{cpan_name}-%{version}.tar.bz2 Source: %{cpan_name}-%{version}.tar.bz2
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
%if 0%{?suse_version} < 1120
BuildRequires: perl-macros
%endif
BuildRequires: perl(Test::More) >= 0.61
%{perl_requires} %{perl_requires}
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Test::More) >= 0.61
Requires: perl(Test::More) >= 0.61 Requires: perl(Test::More) >= 0.61
%description %description