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-Class-Inspector?expand=0&rev=16
This commit is contained in:
Stephan Kulow 2010-12-03 13:57:25 +00:00 committed by Git OBS Bridge
parent e413d958eb
commit ee6d718d31

View File

@ -27,13 +27,13 @@ Group: Development/Libraries/Perl
Url: http://search.cpan.org/~adamk/Class-Inspector Url: http://search.cpan.org/~adamk/Class-Inspector
Source: %{cpan_name}-%{version}.tar.bz2 Source: %{cpan_name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: perl(File::Spec) >= 0.80 BuildRequires: perl(File::Spec) >= 0.80
BuildRequires: perl(Test::More) >= 0.47 BuildRequires: perl(Test::More) >= 0.47
BuildRequires: perl(Pod::Escapes) BuildRequires: perl(Pod::Escapes)
BuildRequires: perl(Test::Pod) BuildRequires: perl(Test::Pod)
%{perl_requires}
%description %description
Class::Inspector allows you to get information about a loaded class. Class::Inspector allows you to get information about a loaded class.