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-B-Hooks-EndOfScope?expand=0&rev=4
This commit is contained in:
Stephan Kulow 2010-12-03 13:55:32 +00:00 committed by Git OBS Bridge
parent ddaf02147b
commit 72e0b3269f

View File

@ -7,11 +7,12 @@ Group: Development/Libraries/Perl
URL: http://search.cpan.org/dist/B-Hooks-EndOfScope/
Source0: http://www.cpan.org/modules/by-module/B/B-Hooks-EndOfScope-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%{perl_requires}
BuildArch: noarch
BuildRequires: perl >= 5.8.0
BuildRequires: perl-macros
BuildRequires: perl(Sub::Exporter)
BuildRequires: perl(Variable::Magic) >= 0.34
%{perl_requires}
Requires: perl(Sub::Exporter)
Requires: perl(Variable::Magic) >= 0.34