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-Alien-wxWidgets?expand=0&rev=3
This commit is contained in:
Stephan Kulow 2010-12-03 13:54:27 +00:00 committed by Git OBS Bridge
parent 2fc45e50e5
commit 6369c248ac

View File

@ -30,13 +30,11 @@ Source: %{cpan_name}-%{version}.tar.bz2
BuildRequires: perl
BuildRequires: perl(Module::Build)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildArch: noarch
%if 0%{?suse_version} < 1120
BuildRequires: perl-macros
%endif
BuildRequires: perl >= 5.006
BuildRequires: perl(File::Spec) >= 1.50
%{perl_requires}
%description
Please see Alien for the manifesto of the Alien namespace.