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-IPC-Run3?expand=0&rev=16
This commit is contained in:
parent
a2e962ff83
commit
312681d118
@ -31,17 +31,15 @@ Url: http://search.cpan.org/dist/IPC-Run3/
|
||||
Source: %{cpan_name}-%{version}.tar.bz2
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%{perl_requires}
|
||||
BuildRequires: perl
|
||||
%if 0%{?suse_version} < 1120
|
||||
BuildRequires: perl-macros
|
||||
%endif
|
||||
%if %{with pod}
|
||||
BuildRequires: perl(Test::Pod) >= 1.00
|
||||
BuildRequires: perl(Test::Pod::Coverage) >= 1.04
|
||||
%endif
|
||||
BuildRequires: perl(Test::More) >= 0.31
|
||||
BuildRequires: perl(Time::HiRes)
|
||||
%{perl_requires}
|
||||
Requires: perl(Time::HiRes)
|
||||
|
||||
%description
|
||||
|
Loading…
Reference in New Issue
Block a user