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-Memory-Cycle?expand=0&rev=4
This commit is contained in:
Stephan Kulow 2010-12-03 14:52:24 +00:00 committed by Git OBS Bridge
parent 256bcf810c
commit 77893f3a0b

View File

@ -30,10 +30,9 @@ Url: http://search.cpan.org/dist/Test-Memory-Cycle/
Source: http://www.cpan.org/authors/id/P/PE/PETDANCE/Test-Memory-Cycle-1.04.tar.gz
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) >= 1.14
BuildRequires: perl(Test::Pod::Coverage) >= 1.04
@ -42,7 +41,6 @@ BuildRequires: perl(Devel::Cycle) >= 1.07
BuildRequires: perl(Getopt::Long)
BuildRequires: perl(PadWalker)
BuildRequires: perl(Test::Simple) >= 0.62
%{perl_requires}
Requires: perl(Devel::Cycle) >= 1.07
Requires: perl(Getopt::Long)
Requires: perl(PadWalker)