forked from pool/perl-IO-Socket-INET6
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-IO-Socket-INET6?expand=0&rev=17
This commit is contained in:
parent
690f534cdf
commit
05c658c551
@ -31,11 +31,10 @@ Url: http://search.cpan.org/dist/IO-Socket-INET6/
|
||||
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 test}
|
||||
BuildRequires: perl(Test::Pod) >= 1.14
|
||||
BuildRequires: perl(Test::Pod::Coverage) >= 1.04
|
||||
@ -48,7 +47,6 @@ BuildRequires: perl(Socket)
|
||||
BuildRequires: perl(Socket6) >= 0.12
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(warnings)
|
||||
%{perl_requires}
|
||||
Requires: perl(Carp)
|
||||
Requires: perl(Errno)
|
||||
Requires: perl(Exporter)
|
||||
|
Loading…
x
Reference in New Issue
Block a user