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-SSL?expand=0&rev=19
This commit is contained in:
parent
3ef0b0c10a
commit
6d56742057
@ -30,14 +30,12 @@ Url: http://search.cpan.org/dist/IO-Socket-SSL/
|
|||||||
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
|
||||||
%if 0%{?suse_version} < 1120
|
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
%endif
|
|
||||||
BuildRequires: perl(Net::LibIDN)
|
BuildRequires: perl(Net::LibIDN)
|
||||||
BuildRequires: perl(Net::SSLeay) >= 1.21
|
BuildRequires: perl(Net::SSLeay) >= 1.21
|
||||||
BuildRequires: perl(Scalar::Util)
|
BuildRequires: perl(Scalar::Util)
|
||||||
%{perl_requires}
|
|
||||||
Requires: perl(Net::SSLeay) >= 1.21
|
Requires: perl(Net::SSLeay) >= 1.21
|
||||||
Requires: perl(Scalar::Util)
|
Requires: perl(Scalar::Util)
|
||||||
Recommends: perl(IO::Socket::INET6)
|
Recommends: perl(IO::Socket::INET6)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user