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-Socket6?expand=0&rev=11
This commit is contained in:
Stephan Kulow 2010-12-03 14:49:57 +00:00 committed by Git OBS Bridge
parent 38a2904777
commit 9cb212427e

View File

@ -22,13 +22,14 @@ Name: perl-Socket6
Url: http://search.cpan.org/author/UMEMOTO/Socket6-0.11/ Url: http://search.cpan.org/author/UMEMOTO/Socket6-0.11/
License: Artistic License: Artistic
Group: Development/Libraries/Perl Group: Development/Libraries/Perl
%{perl_requires}
Summary: IPv6 Sockets (Perl Module) Summary: IPv6 Sockets (Perl Module)
Version: 0.23 Version: 0.23
Release: 6 Release: 6
Source: http://search.cpan.org/CPAN/authors/id/U/UM/UMEMOTO/Socket6-%{version}.tar.bz2 Source: http://search.cpan.org/CPAN/authors/id/U/UM/UMEMOTO/Socket6-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros
%description %description
The IPv6 related part of the C socket.h defines and structure The IPv6 related part of the C socket.h defines and structure