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-Test-SharedFork?expand=0&rev=4
This commit is contained in:
Stephan Kulow 2010-12-03 14:52:56 +00:00 committed by Git OBS Bridge
parent adbd2e6304
commit dfaac7316f

View File

@ -30,12 +30,10 @@ Source: %{cpan_name}-%{version}.tar.bz2
Patch0: tests-need-help.patch
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
%if 0%{?suse_version} < 1120
BuildRequires: perl-macros
%endif
BuildRequires: perl >= 5.8.0
%{perl_requires}
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl >= 5.8.0
Requires: perl >= 5.8.0
%description