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-PadWalker?expand=0&rev=7
This commit is contained in:
Stephan Kulow 2010-12-03 14:45:21 +00:00 committed by Git OBS Bridge
parent b20b06eead
commit 47d886a584

View File

@ -27,11 +27,9 @@ Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/PadWalker/
Source: http://www.cpan.org/authors/id/R/RO/ROBIN/PadWalker-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
%if 0%{?suse_version} < 1120
BuildRequires: perl-macros
%endif
%{perl_requires}
BuildRequires: perl
BuildRequires: perl-macros
%description
PadWalker is a module which allows you to inspect (and even change!)