From 72e0b3269f5a7b9ab3626e20c3a9901defc9769e5fa33cb7dbbe94da04bfd24d Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Fri, 3 Dec 2010 13:55:32 +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-B-Hooks-EndOfScope?expand=0&rev=4 --- perl-B-Hooks-EndOfScope.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/perl-B-Hooks-EndOfScope.spec b/perl-B-Hooks-EndOfScope.spec index 93654c1..391ce00 100644 --- a/perl-B-Hooks-EndOfScope.spec +++ b/perl-B-Hooks-EndOfScope.spec @@ -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