forked from pool/perl-Error
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-Error?expand=0&rev=10
This commit is contained in:
parent
098c1e2563
commit
f55cec5441
@ -31,18 +31,16 @@ Url: http://search.cpan.org/dist/Error/
|
||||
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
|
||||
%if %{with pod}
|
||||
BuildRequires: perl(Test::Pod) >= 1.14
|
||||
BuildRequires: perl(Test::Pod::Coverage) >= 1.04
|
||||
%endif
|
||||
BuildRequires: perl(Scalar::Util)
|
||||
BuildRequires: perl(warnings)
|
||||
%{perl_requires}
|
||||
Requires: perl(Scalar::Util)
|
||||
Requires: perl(warnings)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user