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:
committed by
Git OBS Bridge
parent
098c1e2563
commit
f55cec5441
@@ -31,18 +31,16 @@ Url: http://search.cpan.org/dist/Error/
|
|||||||
Source: %{cpan_name}-%{version}.tar.bz2
|
Source: %{cpan_name}-%{version}.tar.bz2
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
%{perl_requires}
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl(Module::Build)
|
BuildRequires: perl(Module::Build)
|
||||||
%if 0%{?suse_version} < 1120
|
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
%endif
|
|
||||||
%if %{with pod}
|
%if %{with pod}
|
||||||
BuildRequires: perl(Test::Pod) >= 1.14
|
BuildRequires: perl(Test::Pod) >= 1.14
|
||||||
BuildRequires: perl(Test::Pod::Coverage) >= 1.04
|
BuildRequires: perl(Test::Pod::Coverage) >= 1.04
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: perl(Scalar::Util)
|
BuildRequires: perl(Scalar::Util)
|
||||||
BuildRequires: perl(warnings)
|
BuildRequires: perl(warnings)
|
||||||
%{perl_requires}
|
|
||||||
Requires: perl(Scalar::Util)
|
Requires: perl(Scalar::Util)
|
||||||
Requires: perl(warnings)
|
Requires: perl(warnings)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user