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-ExtUtils-CChecker?expand=0&rev=4
This commit is contained in:
Stephan Kulow 2010-12-03 14:04:37 +00:00 committed by Git OBS Bridge
parent 5fc1d724dc
commit 5a745026a0

View File

@ -29,13 +29,11 @@ Url: http://search.cpan.org/dist/ExtUtils-CChecker/
Source: %{cpan_name}-%{version}.tar.bz2
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl
BuildRequires: perl(Module::Build)
%if 0%{?suse_version} < 1120
BuildRequires: perl-macros
%endif
BuildRequires: perl(Test::Exception)
%{perl_requires}
%description
Often Perl modules are written to wrap functionallity found in existing C